File tree Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Original file line number Diff line number Diff line change 66 pull_request :
77
88jobs :
9- ci :
10- name : CI
9+ build :
1110 runs-on : ubuntu-latest
1211 steps :
1312 - uses : actions/checkout@v2
4342 - run : cargo run
4443 - run : cp CNAME ./site/
4544 - run : touch site/.nojekyll
46- - uses : JamesIves/github-pages-deploy-action@releases/v3
47- if : github.ref == 'refs/heads/master'
45+
46+ - uses : actions/upload-pages-artifact@v1.0.9
4847 with :
49- ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50- BRANCH : gh-pages
51- FOLDER : site
48+ path : site
49+
50+ deploy :
51+ if : ${{ github.ref == 'refs/heads/master' }}
52+
53+ needs : build
54+
55+ permissions :
56+ pages : write
57+ id-token : write
58+
59+ runs-on : ubuntu-latest
60+ steps :
61+ - id : deployment
62+ uses : actions/deploy-pages@v2.0.2
63+
64+ environment :
65+ name : github-pages
66+ url : ${{ steps.deployment.outputs.page_url }}
You can’t perform that action at this time.
0 commit comments