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 6
6
7
7
jobs :
8
8
9
- documentation-job :
9
+ build-documentation :
10
10
runs-on : ubuntu-24.04
11
-
11
+ permissions :
12
+ contents : read
12
13
steps :
13
14
- name : SCM Checkout
14
15
uses : actions/checkout@v4
@@ -22,10 +23,22 @@ jobs:
22
23
run : |
23
24
poetry run -- nox -s docs:multiversion
24
25
25
- - name : Deploy
26
- uses :
JamesIves/github -pages-[email protected]
26
+ - name : Upload artifact
27
+ uses : actions/upload -pages-artifact@v3
27
28
with :
28
- branch : gh-pages
29
- folder : .html-documentation
30
- git-config-name : Github Action
31
- git-config-email :
[email protected]
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 2
2
3
3
## ⚒️ Refactorings
4
4
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 6
6
7
7
jobs :
8
8
9
- documentation-job :
9
+ build-documentation :
10
10
runs-on : ubuntu-24.04
11
-
11
+ permissions :
12
+ contents : read
12
13
steps :
13
14
- name : SCM Checkout
14
15
uses : actions/checkout@v4
@@ -22,10 +23,22 @@ jobs:
22
23
run : |
23
24
poetry run -- nox -s docs:multiversion
24
25
25
- - name : Deploy
26
- uses :
JamesIves/github -pages-[email protected]
26
+ - name : Upload artifact
27
+ uses : actions/upload -pages-artifact@v3
27
28
with :
28
- branch : gh-pages
29
- folder : .html-documentation
30
- git-config-name : Github Action
31
- git-config-email :
[email protected]
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