Skip to content

Commit 3d304d0

Browse files
committed
deploy to root level
1 parent 9aa5565 commit 3d304d0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,15 @@ jobs:
5151
- name: Create .nojekyll file
5252
run: echo > ./dist/s-qee-z-scripting-language.github.io/browser/.nojekyll
5353

54+
- name: Move files to root for deployment
55+
run: |
56+
mkdir -p ./root
57+
cp -r ./dist/s-qee-z-scripting-language.github.io/browser/* ./root/
58+
5459
- name: Deploy to GitHub Pages
5560
uses: peaceiris/actions-gh-pages@v3
5661
with:
5762
github_token: ${{ secrets.GITHUB_TOKEN }}
58-
publish_dir: ./dist/s-qee-z-scripting-language.github.io/browser
59-
destination_dir: /
63+
publish_dir: ./root
6064
commit_message: 'Deploy to GitHub Pages'
61-
allow_empty_commit: true
65+
allow_empty_commit: true

0 commit comments

Comments
 (0)