Skip to content

Commit 2dc4a6a

Browse files
authored
Update static.yml
public root
1 parent 0753e23 commit 2dc4a6a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/static.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,18 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v4
34+
- name: Prepare public folder
35+
run: |
36+
mkdir -p public
37+
cp Titanic/index.html public/index.html
38+
3439
- name: Setup Pages
3540
uses: actions/configure-pages@v5
3641
- name: Upload artifact
3742
uses: actions/upload-pages-artifact@v3
3843
with:
3944
# Upload entire repository
40-
path: '.'
45+
path: 'public'
4146
- name: Deploy to GitHub Pages
4247
id: deployment
4348
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)