Skip to content

Commit 04b7388

Browse files
.
1 parent a14987f commit 04b7388

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

.github/workflows/docs.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
name: Docs
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
88

99
permissions:
10-
contents: read
11-
pages: write
12-
id-token: write
10+
contents: read
11+
pages: write
12+
id-token: write
1313

1414
concurrency:
15-
group: pages
16-
cancel-in-progress: true
15+
group: pages
16+
cancel-in-progress: true
1717

1818
jobs:
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

0 commit comments

Comments
 (0)