File tree Expand file tree Collapse file tree 1 file changed +25
-8
lines changed
Expand file tree Collapse file tree 1 file changed +25
-8
lines changed Original file line number Diff line number Diff line change @@ -55,17 +55,34 @@ jobs:
5555 path : _build/latex/*.pdf
5656 retention-days : 14
5757
58- - name : Prepare rendered site
59- if : github.event_name == 'push' && github.ref_type == 'tag'
60- run : |
61- cp -r _build/html _site
62- cp -r _build/man _site/man
63- mkdir _site/pdf
64- cp _build/latex/*pdf _site/pdf
58+ upload :
59+ runs-on : ubuntu-latest
60+ name : Upload rendered site
61+ needs : build-html-man-pdf
62+ environment : github-pages
63+ if : github.event_name == 'push' && github.ref_type == 'tag'
64+ steps :
65+
66+ - name : Prepare site (html)
67+ uses : actions/download-artifact@v4
68+ with :
69+ name : html
70+ path : _site
71+
72+ - name : Prepare site (man)
73+ uses : actions/download-artifact@v4
74+ with :
75+ name : man
76+ path : _site/man
77+
78+ - name : Prepare site (pdf)
79+ uses : actions/download-artifact@v4
80+ with :
81+ name : man
82+ path : _site/man
6583
6684 - name : Upload rendered site
6785 uses : docker://docker.io/rclone/rclone:latest
68- if : github.event_name == 'push' && github.ref_type == 'tag'
6986 env :
7087 RCLONE_CONFIG_OBJSTORE_TYPE : s3
7188 RCLONE_CONFIG_OBJSTORE_PROVIDER : ${{ secrets.S3_PROVIDER }}
You can’t perform that action at this time.
0 commit comments