File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : GH-Pages Status
2- on :
3- page_build
4-
5- jobs :
6- see-page-build-payload :
1+ name : Jekyll Deploy
2+
3+ on : [push]
4+
5+ jobs :
6+ build_and_deploy :
77 runs-on : ubuntu-latest
8- steps :
9- - name : check status
10- run : |
11- import os
12- status, errormsg = os.getenv('STATUS'), os.getenv('ERROR')
13- assert status == 'built', 'There was an error building the page on GitHub pages.\n\nStatus: {}\n\nError messsage: {}'.format(status, errormsg)
14- shell : python
15- env :
16- STATUS : ${{ github.event.build.status }}
17- ERROR : ${{ github.event.build.error.message }}
8+ steps :
9+ - uses : actions/checkout@v1
10+ - name : Build & Deploy to GitHub Pages
11+ env :
12+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
13+ GITHUB_REPOSITORY : ${{ secrets.GITHUB_REPOSITORY }}
14+ GITHUB_ACTOR : ${{ secrets.GITHUB_ACTOR }}
15+ uses : ocefpaf/jekyll-deploy-gh-pages@master
You can’t perform that action at this time.
0 commit comments