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
22
33on :
4- # Add on:
54 push :
65 tags :
76 - " *.*.*"
@@ -58,11 +57,11 @@ jobs:
5857 exit 1
5958 fi
6059
61- - name : Archive build logs
60+ - name : Archive build artifacts
6261 uses : actions/upload-artifact@v4
6362 if : always()
6463 with :
65- name : build-logs
64+ name : build-artifacts
6665 path : build
6766 retention-days : 7
6867 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
22
33on :
44 schedule :
Original file line number Diff line number Diff line change 33 You can adapt this file completely to your liking, but it should at least
44 contain the root `toctree` directive.
55
6- Safety-Critical Rust Coding Guidelines documentation
7- ====================================================
6+ Safety-Critical Rust Coding Guidelines
7+ ======================================
88
99.. toctree ::
1010 :maxdepth: 2
You can’t perform that action at this time.
0 commit comments