You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Push to `main`| GitHub Pages | N/A |`richardthe3rd.github.io/...`| Development |
34
34
35
35
## Prerequisites
@@ -44,13 +44,13 @@ The app uses **two separate Cloudflare Pages projects** for clean separation bet
44
44
45
45
You need **two separate Cloudflare Pages projects**:
46
46
-`cambeerfestival` (production)
47
-
-`cambeerfestival-preview` (staging/previews)
47
+
-`cambeerfestival-staging` (staging/previews)
48
48
49
49
**Option A: Let GitHub Actions Create the Projects (Easiest)**
50
50
51
51
Both projects will be automatically created on their first deployment. You can skip this step and jump to step 2 (Get Account ID) and step 3 (Create API Token).
52
52
53
-
- First push to `main` will create `cambeerfestival-preview`
53
+
- First push to `main` will create `cambeerfestival-staging`
54
54
- First git tag will create `cambeerfestival`
55
55
56
56
**Option B: Create Projects Manually**
@@ -64,12 +64,12 @@ If you prefer to create the projects manually first:
64
64
4. Set **Project name**: `cambeerfestival`
65
65
5. Disable automatic deployments (GitHub Actions will handle deployments)
66
66
67
-
**For Preview Project:**
67
+
**For Staging Project:**
68
68
1. In **Workers & Pages**, click **Create application** → **Pages**
69
-
2. Set **Project name**: `cambeerfestival-preview`
69
+
2. Set **Project name**: `cambeerfestival-staging`
70
70
3. Disable automatic deployments
71
71
72
-
**Important**: Project names must match the workflow configuration (`cambeerfestival` and `cambeerfestival-preview`).
72
+
**Important**: Project names must match the workflow configuration (`cambeerfestival` and `cambeerfestival-staging`).
73
73
74
74
### 2. Get Cloudflare Account ID
75
75
@@ -131,19 +131,19 @@ You need to configure **one custom domain per project**:
131
131
8. Click **Continue**
132
132
9. Cloudflare will automatically configure the DNS records
133
133
134
-
#### 4b. Preview/Staging Project Domain
134
+
#### 4b. Staging Project Domain
135
135
136
136
1. In Cloudflare Dashboard, go to **Workers & Pages** → **Pages**
137
-
2. Create or select the **`cambeerfestival-preview`** project
137
+
2. Create or select the **`cambeerfestival-staging`** project
138
138
3. Go to **Settings** → **Builds & deployments**
139
139
4. Set **Production branch** to: `main`
140
140
5. Go to **Custom domains** tab
141
141
6. Click **Set up a custom domain**
142
-
7. Enter: `preview.cambeerfestival.app`
142
+
7. Enter: `staging.cambeerfestival.app`
143
143
8. Click **Continue**
144
144
9. Cloudflare will automatically configure the DNS records
145
145
146
-
**Note**: The `cambeerfestival-preview` project will be automatically created by GitHub Actions on the first deployment if it doesn't exist.
146
+
**Note**: The `cambeerfestival-staging` project will be automatically created by GitHub Actions on the first deployment if it doesn't exist.
147
147
148
148
#### 4c. Optional: WWW Redirect
149
149
@@ -152,14 +152,14 @@ If you want `www.cambeerfestival.app` to redirect to the apex domain:
0 commit comments