Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 52803ea

Browse files
committed
Update deploy.yml
1 parent 319f380 commit 52803ea

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,17 @@ jobs:
3030
haxe -version
3131
haxe deploy.hxml
3232
33-
- name: Move files to output folder
33+
- name: Move output to static folder
3434
run: |
35-
mkdir demo
36-
mv bin/out.js demo
37-
mv static demo
35+
mv bin/out.js static
3836
3937
- name: Deploy to gh-pages branch
4038
uses: peaceiris/actions-gh-pages@v3
4139
with:
4240
github_token: ${{ secrets.GITHUB_TOKEN }}
43-
publish_dir: ./demo
41+
publish_dir: ./static
4442
user_name: 'github-actions[bot]'
4543
user_email: 'github-actions[bot]@users.noreply.github.com'
4644
commit_message: ${{ github.event.head_commit.message }}
47-
keep_files: true # Don't overwrite everything
45+
keep_files: false # Whether to overwrite or not
4846
disable_nojekyll: true # Don't make a .nojekyll file

0 commit comments

Comments
 (0)