File tree Expand file tree Collapse file tree 4 files changed +41
-7
lines changed Expand file tree Collapse file tree 4 files changed +41
-7
lines changed Original file line number Diff line number Diff line change 1
- name : Build Safety-Critical Rust Coding Guidelines
1
+ name : Build
2
2
3
3
on :
4
- # Add on:
5
4
push :
6
5
tags :
7
6
- " *.*.*"
@@ -58,11 +57,11 @@ jobs:
58
57
exit 1
59
58
fi
60
59
61
- - name : Archive build logs
60
+ - name : Archive build artifacts
62
61
uses : actions/upload-artifact@v4
63
62
if : always()
64
63
with :
65
- name : build-logs
64
+ name : build-artifacts
66
65
path : build
67
66
retention-days : 7
68
67
compression-level : 6 # Default compression level for a good balance of speed and size
Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " *.*.*"
7
+
8
+ jobs :
9
+ build :
10
+ uses : ./.github/workflows/build-guidelines.yml
11
+
12
+ deploy :
13
+ needs : build
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v3
18
+
19
+ - name : Download build artifacts
20
+ uses : actions/download-artifact@v4
21
+ with :
22
+ name : build-artifacts
23
+ path : build
24
+
25
+ - name : Check artifacts
26
+ run : |
27
+ ls build
28
+ ls build/html
29
+
30
+ - name : Deploy to GitHub Pages
31
+ uses : peaceiris/actions-gh-pages@v4
32
+ with :
33
+ github_token : ${{ secrets.GITHUB_TOKEN }}
34
+ publish_dir : ./build/html
35
+
Original file line number Diff line number Diff line change 1
- name : Nightly Safety-Critical Rust Coding Guidelines Build Schedule
1
+ name : Nightly
2
2
3
3
on :
4
4
schedule :
Original file line number Diff line number Diff line change 3
3
You can adapt this file completely to your liking, but it should at least
4
4
contain the root `toctree` directive.
5
5
6
- Safety-Critical Rust Coding Guidelines documentation
7
- ====================================================
6
+ Safety-Critical Rust Coding Guidelines
7
+ ======================================
8
8
9
9
.. toctree ::
10
10
:maxdepth: 2
You can’t perform that action at this time.
0 commit comments