We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae3a167 commit 33881c3Copy full SHA for 33881c3
.github/workflows/deploy.yml
@@ -27,12 +27,14 @@ jobs:
27
28
- name: Deploy to GitHub Pages
29
run: |
30
- mkdir -p deploy
31
- cp -r * deploy
+ mkdir -p ../deploy
+ cp -r * ../deploy/
32
git checkout gh-pages || git checkout --orphan gh-pages
33
git rm -rf . > /dev/null 2>&1 || true
34
git clean -fxd
35
- cp -r deploy/* .
+ cp -r ../deploy/* .
36
+ rm -rf ../deploy
37
git add .
38
git commit -m "Deploy updates from $(date)" || echo "No changes to commit"
39
git push origin gh-pages
40
+
0 commit comments