File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 64
64
uses : actions/upload-pages-artifact@v1
65
65
with :
66
66
path : ./public
67
+ - name : Push to gh_pages branch
68
+ run : |
69
+ git config --global user.name 'github-actions[bot]'
70
+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
71
+ git add public/*
72
+ git commit -m 'Deploy to gh_pages branch'
73
+ git push origin HEAD:gh_pages
67
74
68
75
# Deployment job
69
76
deploy :
80
87
- name : Deploy to GitHub Pages
81
88
id : deployment
82
89
uses : actions/deploy-pages@v2
83
- - name : Push to gh_pages branch
84
- run : |
85
- git config --global user.name 'github-actions[bot]'
86
- git config --global user.email 'github-actions[bot]@users.noreply.github.com'
87
- git add public/*
88
- git commit -m 'Deploy to gh_pages branch'
89
- git push origin HEAD:gh_pages
You can’t perform that action at this time.
0 commit comments