Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Move the docs deployment to the new project, its final resting place

Manav Rathi2eb95ab21516
diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml
index 11a4d094b5..cc4ef5b7ee 100644
--- a/.github/workflows/docs-deploy.yml
+++ b/.github/workflows/docs-deploy.yml
@@ -3,8 +3,7 @@ name: "Deploy (docs)"
on:
# Run on every push to main that changes docs/
push:
- # TODO (MR): Added testing branch here. Remove.
- branches: [main, deploy-docs]
+ branches: [main]
paths:
- "docs/**"
- ".github/workflows/docs-deploy.yml"
@@ -42,6 +41,6 @@ jobs:
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- projectName: docs-3d7
+ projectName: ente
directory: docs/docs/.vitepress/dist
wranglerVersion: "3"
diff --git a/web/docs/deploy-new.md b/web/docs/deploy-new.md
index eaaaf40c65..4686e17824 100644
--- a/web/docs/deploy-new.md
+++ b/web/docs/deploy-new.md
@@ -10,7 +10,7 @@ The summary of what happens is:
something that changes `docs/` gets merged to main.
You likely don't need to know the rest of the details (until you do, but you can
-read this then).
+read on then).
## First time preparation
@@ -53,9 +53,9 @@ However, we wish to deploy multiple sites from this same repository, so the
standard Cloudflare conception of a single "production" branch doesn't work for
us.
-Instead, we use tie each deployment to a branch names. Note that we don't have
-to actually create the branch or push to it, this branch name is just used as
-the the `branch` parameter that gets passed to `cloudflare/pages-action`.
+Instead, we tie each deployment to a branch name. Note that we don't have to
+actually create the branch or push to it, this branch name is just used as the
+the `branch` parameter that gets passed to `cloudflare/pages-action`.
Since our root pages project is `ente.pages.dev`, so a branch named `foo` would
be available at `foo.ente.pages.dev`.