Commit 641334a 1 parent 8284627 commit 641334a Copy full SHA for 641334a
File tree 1 file changed +8
-24
lines changed
1 file changed +8
-24
lines changed Original file line number Diff line number Diff line change @@ -93,28 +93,12 @@ jobs:
93
93
path : doc/_build/latex
94
94
retention-days : 7
95
95
96
- release :
97
- if : github.event_name == 'refs/heads/main' && !contains(github.ref, 'refs/tags')
98
- needs : [doc-build, doc-style]
99
- runs-on : ubuntu-latest
100
- steps :
101
- - uses : actions/checkout@v4
102
-
103
- - uses : actions/download-artifact@v4
104
-
105
- - name : Display structure of downloaded files
106
- run : ls -R
107
-
108
- - name : Zip HTML documentation
109
- uses : vimtor/action-zip@v1.2
110
- with :
111
- files : documentation-html
112
- dest : documentation-html.zip
113
-
114
- - name : Release
115
- uses : softprops/action-gh-release@v2
96
+ - name : Deploy
97
+ if : contains(github.ref, 'refs/heads/main')
98
+ uses : JamesIves/github-pages-deploy-action@v4.6.3
116
99
with :
117
- generate_release_notes : true
118
- files : |
119
- ./documentation-html.zip
120
- ./documentation-pdf/*.pdf
100
+ token : ${{ secrets.GITHUB_TOKEN }}
101
+ branch : gh-pages
102
+ folder : doc/_build/html
103
+ clean : true
104
+ single-commit : true
You can’t perform that action at this time.
0 commit comments