File tree Expand file tree Collapse file tree 1 file changed +36
-36
lines changed
Expand file tree Collapse file tree 1 file changed +36
-36
lines changed Original file line number Diff line number Diff line change 11name : Docs
22
33on :
4- push:
5- branches:
6- - main
7- workflow_dispatch:
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
88
99permissions :
10- contents: read
11- pages: write
12- id-token: write
10+ contents : read
11+ pages : write
12+ id-token : write
1313
1414concurrency :
15- group: pages
16- cancel-in-progress: true
15+ group : pages
16+ cancel-in-progress : true
1717
1818jobs :
19- build:
20- runs-on: ubuntu-latest
21- steps:
22- - name: Checkout
23- uses: actions/checkout@v4
24-
25- - name: Install Rust
26- uses: dtolnay/rust-toolchain@stable
27-
28- - name: Build documentation
29- run: cargo doc --no-deps
30-
31- - name: Upload documentation
32- uses: actions/upload-pages-artifact@v3
33- with:
34- path: target/doc
35-
36- deploy:
37- needs: build
38- runs-on: ubuntu-latest
39- environment:
40- name: github-pages
41- url: ${{ steps.deploy.outputs.page_url }}
42- steps:
43- - name: Deploy to GitHub Pages
44- id: deploy
45- uses: actions/deploy-pages@v4
19+ build :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+
25+ - name : Install Rust
26+ uses : dtolnay/rust-toolchain@stable
27+
28+ - name : Build documentation
29+ run : cargo doc --no-deps
30+
31+ - name : Upload documentation
32+ uses : actions/upload-pages-artifact@v3
33+ with :
34+ path : target/doc
35+
36+ deploy :
37+ needs : build
38+ runs-on : ubuntu-latest
39+ environment :
40+ name : github-pages
41+ url : ${{ steps.deploy.outputs.page_url }}
42+ steps :
43+ - name : Deploy to GitHub Pages
44+ id : deploy
45+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments