Skip to content

Commit 6751a46

Browse files
committed
Update deployment workflow for master branch
1 parent 787a4aa commit 6751a46

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/deploy.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
# .github/workflows/deploy.yml
21
name: Deploy to GitHub Pages
32

43
on:
54
push:
65
branches:
7-
- main # or your default branch
6+
- master # Changed from main to master
87

98
jobs:
109
build-and-deploy:
@@ -20,10 +19,10 @@ jobs:
2019
- name: Install and Build
2120
run: |
2221
npm install
23-
npm run build
22+
npm run build:github # Changed from build to build:github
2423
2524
- name: Deploy
2625
uses: JamesIves/github-pages-deploy-action@v4
2726
with:
28-
folder: dist # or build, depending on your build output
27+
folder: dist
2928
branch: gh-pages

0 commit comments

Comments
 (0)