File tree Expand file tree Collapse file tree 1 file changed +19
-13
lines changed
Expand file tree Collapse file tree 1 file changed +19
-13
lines changed Original file line number Diff line number Diff line change 77name : build_deploy
88
99jobs :
10- build_deploy :
10+ build :
1111 runs-on : ubuntu-latest
1212 container : bioconductor/bioconductor_docker:devel
1313
@@ -72,16 +72,22 @@ jobs:
7272 run : |
7373 cp -R docs _book/
7474
75- # deploy needs rsync? Seems so.
76- - name : Install deploy dependencies
77- if : github.event_name == 'push' && github.ref == 'refs/heads/devel'
78- run : |
79- apt-get update && apt-get -y install rsync
80-
81- - name : Deploy 🚀
82- if : github.event_name == 'push' && github.ref == 'refs/heads/devel'
83- 75+ - name : Upload bookdown artifacts
76+ uses : actions/upload-pages-artifact@v3
8477 with :
85- ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }}
86- BRANCH : gh-pages
87- FOLDER : _book
78+ path : _book
79+
80+ deploy :
81+ needs : build
82+ permissions :
83+ contents : write
84+ pages : write
85+ id-token : write
86+ runs-on : ubuntu-latest
87+
88+ steps :
89+ - name : Deploy to GitHub Pages
90+ if : github.event_name == 'push' && github.ref == 'refs/heads/devel'
91+ id : deployment
92+ uses : actions/deploy-pages@v4
93+
You can’t perform that action at this time.
0 commit comments