File tree Expand file tree Collapse file tree 3 files changed +47
-17
lines changed
exasol/toolbox/templates/github/workflows Expand file tree Collapse file tree 3 files changed +47
-17
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88
9- documentation-job :
9+ build-documentation :
1010 runs-on : ubuntu-24.04
11-
11+ permissions :
12+ contents : read
1213 steps :
1314 - name : SCM Checkout
1415 uses : actions/checkout@v4
@@ -22,10 +23,22 @@ jobs:
2223 run : |
2324 poetry run -- nox -s docs:multiversion
2425
25- - name : Deploy
26- uses : JamesIves/github -pages-deploy-action@v4.7.3
26+ - name : Upload artifact
27+ uses : actions/upload -pages-artifact@v3
2728 with :
28- branch : gh-pages
29- folder : .html-documentation
30- git-config-name : Github Action
31- git-config-email : opensource@exasol.com
29+ path : .html-documentation
30+
31+ deploy-documentation :
32+ needs : [ build-documentation ]
33+ permissions :
34+ contents : read
35+ pages : write
36+ id-token : write
37+ environment :
38+ name : github-pages
39+ url : ${{ steps.deployment.outputs.page_url }}
40+ runs-on : ubuntu-24.04
41+ steps :
42+ - name : Deploy to GitHub Pages
43+ id : deployment
44+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 22
33## ⚒️ Refactorings
44
5- * [ #412 ] ( https://github.com/exasol/python-toolbox/issues/392 ) : Refactor pre commit hook package version.py into nox task
5+ * [ #412 ] ( https://github.com/exasol/python-toolbox/issues/392 ) : Refactored pre commit hook package version.py into nox task
6+
7+ ## Security
8+
9+ * [ #420 ] ( https://github.com/exasol/python-toolbox/issues/420 ) : Replaced 3rd party action with GitHub actions for gh-pages
Original file line number Diff line number Diff line change 66
77jobs :
88
9- documentation-job :
9+ build-documentation :
1010 runs-on : ubuntu-24.04
11-
11+ permissions :
12+ contents : read
1213 steps :
1314 - name : SCM Checkout
1415 uses : actions/checkout@v4
@@ -22,10 +23,22 @@ jobs:
2223 run : |
2324 poetry run -- nox -s docs:multiversion
2425
25- - name : Deploy
26- uses : JamesIves/github -pages-deploy-action@v4.7.3
26+ - name : Upload artifact
27+ uses : actions/upload -pages-artifact@v3
2728 with :
28- branch : gh-pages
29- folder : .html-documentation
30- git-config-name : Github Action
31- git-config-email : opensource@exasol.com
29+ path : .html-documentation
30+
31+ deploy-documentation :
32+ needs : [ build-documentation ]
33+ permissions :
34+ contents : read
35+ pages : write
36+ id-token : write
37+ environment :
38+ name : github-pages
39+ url : ${{ steps.deployment.outputs.page_url }}
40+ runs-on : ubuntu-24.04
41+ steps :
42+ - name : Deploy to GitHub Pages
43+ id : deployment
44+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments