File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1818 contents : read
1919 pages : write
2020 id-token : write
21+ deployments : write
2122
2223 steps :
2324 - name : Checkout
4344
4445 - name : Setup Pages
4546 uses : actions/configure-pages@v4
46- with :
47- enablement : true
4847
4948 - name : Upload artifact
5049 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change @@ -9,12 +9,22 @@ This guide explains how to set up GitHub Actions to automatically build and depl
99
1010## Setup Steps
1111
12- ### 1. Enable GitHub Pages
12+ ### 1. Enable GitHub Pages (REQUIRED - Must be done manually first)
1313
14- 1 . Go to your repository on GitHub
14+ ** IMPORTANT:** You must manually enable GitHub Pages before the workflow can deploy.
15+
16+ 1 . Go to your repository on GitHub: https://github.com/simpledotorg/hearts360-frontend-experiment
15172 . Navigate to ** Settings** → ** Pages**
16- 3 . Under ** Source** , select ** GitHub Actions** (not "Deploy from a branch")
17- 4 . Save the settings
18+ 3 . Under ** Source** , select ** "GitHub Actions"** (not "Deploy from a branch")
19+ 4 . Click ** Save**
20+
21+ ### 2. Set Workflow Permissions
22+
23+ 1 . Go to ** Settings** → ** Actions** → ** General**
24+ 2 . Scroll down to ** Workflow permissions**
25+ 3 . Select ** "Read and write permissions"**
26+ 4 . Check ** "Allow GitHub Actions to create and approve pull requests"** (optional but recommended)
27+ 5 . Click ** Save**
1828
1929### 2. Repository Name Configuration
2030
You can’t perform that action at this time.
0 commit comments