File tree 1 file changed +9
-9
lines changed 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 7
7
env :
8
8
CARGO_TERM_COLOR : always
9
9
10
- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
11
- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
12
10
concurrency :
13
11
group : " pages"
14
12
cancel-in-progress : false
15
13
14
+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
15
+ permissions :
16
+ contents : read
17
+ pages : write # to deploy to Pages
18
+ id-token : write # to verify the deployment originates from an appropriate source
19
+
16
20
jobs :
17
21
build :
18
22
runs-on : ubuntu-latest
28
32
id : pages
29
33
uses : actions/configure-pages@v4
30
34
- name : Build Docs
31
- run : cargo doc --no-deps --all-features --verbose
35
+ run : |
36
+ cargo doc --no-deps --all-features --verbose
37
+ echo "<meta http-equiv=\"refresh\" content=\"0; url=wrapped2d\">" > target/doc/index.html
32
38
- name : Upload artifact
33
39
uses : actions/upload-pages-artifact@v3
34
40
with :
38
44
needs : build
39
45
runs-on : ubuntu-latest
40
46
41
- # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
42
- permissions :
43
- contents : read
44
- pages : write # to deploy to Pages
45
- id-token : write # to verify the deployment originates from an appropriate source
46
-
47
47
# Deploy to the github-pages environment
48
48
environment :
49
49
name : github-pages
You can’t perform that action at this time.
0 commit comments