File tree 1 file changed +15
-12
lines changed 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,22 @@ concurrency:
14
14
cancel-in-progress : false
15
15
16
16
jobs :
17
- docs :
17
+ build :
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : actions/checkout@v3
21
+ - name : Setup Pages
22
+ id : pages
23
+ uses : actions/configure-pages@v4
24
+ - name : Build Docs
25
+ run : cargo doc --no-deps --all-features --verbose
26
+ - name : Upload artifact
27
+ uses : actions/upload-pages-artifact@v3
28
+ with :
29
+ path : ' ./target/doc'
30
+
31
+ deploy :
18
32
needs : build
19
-
20
33
runs-on : ubuntu-latest
21
34
22
35
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
31
44
url : ${{ steps.deployment.outputs.page_url }}
32
45
33
46
steps :
34
- - uses : actions/checkout@v3
35
- - name : Setup Pages
36
- id : pages
37
- uses : actions/configure-pages@v4
38
- - name : Build Docs
39
- run : cargo doc --no-deps --all-features --verbose
40
- - name : Upload artifact
41
- uses : actions/upload-pages-artifact@v3
42
- with :
43
- path : ' ./target/doc'
44
47
- name : Deploy to GitHub Pages
45
48
id : deployment
46
49
uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments