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 082466f commit ae3a167Copy full SHA for ae3a167
.github/workflows/deploy.yml
@@ -27,11 +27,12 @@ jobs:
27
28
- name: Deploy to GitHub Pages
29
run: |
30
- git fetch origin gh-pages || true
31
- git checkout gh-pages 2>/dev/null || git checkout --orphan gh-pages
+ 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
- cp -r ../$(basename $GITHUB_WORKSPACE)/* .
35
+ cp -r deploy/* .
36
git add .
37
git commit -m "Deploy updates from $(date)" || echo "No changes to commit"
38
git push origin gh-pages
0 commit comments