File tree Expand file tree Collapse file tree 3 files changed +41
-1121
lines changed Expand file tree Collapse file tree 3 files changed +41
-1121
lines changed Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - src
6+ schedule :
7+ # Every day, to pick up the latest rust-analyzer repo changes.
8+ - cron : ' 0 0 * * *'
69
710jobs :
811 CI :
1619
1720 - run : bundle install && bundle exec jekyll build
1821
22+ - uses : taiki-e/install-action@v2
23+ with :
24+ tool : mdbook@0.4.40
25+
26+ - uses : taiki-e/install-action@v2
27+ with :
28+ tool : mdbook-toc@0.14.2
29+
30+ - name : Clone the latest rust-analyzer, as of the mdbook PR
31+ uses : GuillaumeFalourd/clone-github-repo-action@v2.3
32+ with :
33+ depth : 1
34+ branch : ' master'
35+ owner : ' rust-lang'
36+ repository : ' rust-analyzer'
37+
38+ - name : Build generated.md files
39+ run : cd rust-analyzer && cargo xtask codegen
40+
41+ - name : Run mdbook
42+ run : cd rust-analyzer/docs/book && mdbook build && cp -r book _site
43+
44+ - name : Include mdbook output
45+ run : cp -r rust-analyzer/docs/book/book _site
46+
1947 - name : Deploy
2048 uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
2149 with :
You can’t perform that action at this time.
0 commit comments