Skip to content

Commit fc9dfc2

Browse files
authored
Update deploy.yml
1 parent 39d44e5 commit fc9dfc2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy src Folder to GitHub Pages
33
on:
44
push:
55
branches:
6-
- main # Or the branch you want to deploy from
6+
- main
77

88
permissions:
99
contents: read
@@ -21,9 +21,10 @@ jobs:
2121
uses: actions/configure-pages@v3
2222

2323
- name: Upload src folder to GitHub Pages
24-
uses: actions/upload-pages-artifact@v3 # Correct version and action
24+
uses: actions/upload-pages-artifact@v3
2525
with:
26-
path: ./src # Deploy only the src folder
26+
path: ./src
27+
name: github-pages # Make sure the artifact name is correct
2728

2829
- name: Deploy to GitHub Pages
2930
id: deployment

0 commit comments

Comments
 (0)