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 0046ca6 commit 0bdc5b8Copy full SHA for 0bdc5b8
.github/workflows/build.yml
@@ -67,9 +67,14 @@ jobs:
67
68
- name: Deploy to GitHub Pages
69
run: |
70
- cd web_playground
71
- git config --global user.name 'github-actions[bot]'
72
- git config --global user.email 'github-actions[bot]@users.noreply.github.com'
73
- bash publish.sh
+ cd web_playground/public
+ git init
+ git remote add origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
+ git checkout -b gh-pages
74
+ git config user.name 'github-actions[bot]'
75
+ git config user.email 'github-actions[bot]@users.noreply.github.com'
76
+ git add --all --force
77
+ git commit -m "Deploy web playground"
78
+ git push -f origin gh-pages
79
env:
80
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments