Skip to content

Commit 344c64c

Browse files
committed
Fix build
1 parent 16af396 commit 344c64c

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/workflows/deploy-vue-dashboard.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
contents: read
1919
pages: write
2020
id-token: write
21+
deployments: write
2122

2223
steps:
2324
- name: Checkout
@@ -43,8 +44,6 @@ jobs:
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

vue3-dashboard/GITHUB_PAGES_SETUP.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff 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
1517
2. 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

0 commit comments

Comments
 (0)