Skip to content

Commit 33881c3

Browse files
authored
Update deploy.yml
1 parent ae3a167 commit 33881c3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,14 @@ jobs:
2727
2828
- name: Deploy to GitHub Pages
2929
run: |
30-
mkdir -p deploy
31-
cp -r * deploy
30+
mkdir -p ../deploy
31+
cp -r * ../deploy/
3232
git checkout gh-pages || git checkout --orphan gh-pages
3333
git rm -rf . > /dev/null 2>&1 || true
3434
git clean -fxd
35-
cp -r deploy/* .
35+
cp -r ../deploy/* .
36+
rm -rf ../deploy
3637
git add .
3738
git commit -m "Deploy updates from $(date)" || echo "No changes to commit"
3839
git push origin gh-pages
40+

0 commit comments

Comments
 (0)