File tree Expand file tree Collapse file tree 4 files changed +20
-39
lines changed Expand file tree Collapse file tree 4 files changed +20
-39
lines changed Original file line number Diff line number Diff line change 22#
33# To get started with mdBook see: https://rust-lang.github.io/mdBook/index.html
44#
5- name : Deploy mdBook site to Pages
5+ name : Deploy
66
77on :
88 # Runs on pushes targeting the default branch
3737 curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
3838 rustup update
3939 cargo install --version ${MDBOOK_VERSION} mdbook
40- cargo install mdbook-plantuml
40+ cargo install mdbook-alerts
4141 - name : Setup Pages
4242 id : pages
4343 uses : actions/configure-pages@v4
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,21 +2,18 @@ name: Test
22
33env :
44 DENO_VERSION : 1.x
5+ MDBOOK_VERSION : 0.4.36
56
67on :
78 push :
8- branches :
9- - main
109 pull_request :
11- branches :
12- - main
1310
1411jobs :
1512 test :
16- runs-on : ubuntu-20.04
13+ runs-on : ubuntu-latest
1714 steps :
18- - uses : actions/checkout@v2
19- - uses : actions/cache@v2
15+ - uses : actions/checkout@v4
16+ - uses : actions/cache@v4
2017 with :
2118 path : |
2219 ~/.cargo/bin/
@@ -26,17 +23,18 @@ jobs:
2623 target/
2724 .tools/
2825 key : ${{ runner.os }}-cargo
29- - uses : denoland/setup-deno@main
26+ - uses : denoland/setup-deno@v1.1.4
3027 with :
3128 deno-version : ${{ env.DENO_VERSION }}
32- - uses : actions-rs/toolchain@v1
33- with :
34- toolchain : stable
35- - name : Format
36- run : make fmt-check
37- - name : Install tools
38- run : make tools
39- - name : Generate
29+ - name : Install mdBook
4030 run : |
41- make gen
42- git diff --check
31+ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
32+ rustup update
33+ cargo install --version ${MDBOOK_VERSION} mdbook
34+ cargo install mdbook-alerts
35+ - name : Build with mdBook
36+ run : mdbook build
37+ - name : Format
38+ run : deno fmt --check
39+ - name : Misspell
40+
Original file line number Diff line number Diff line change 1- # Denops Documentation
1+ # denops-documentation
22
33[ ![ Test] ( https://github.com/vim-denops/denops-documentation/actions/workflows/test.yml/badge.svg )] ( https://github.com/vim-denops/denops-documentation/actions/workflows/test.yml )
4+ [ ![ Deploy] ( https://github.com/vim-denops/denops-documentation/actions/workflows/mdbook.yml/badge.svg )] ( https://github.com/vim-denops/denops-documentation/actions/workflows/mdbook.yml )
45[ ![ Documentation] ( https://img.shields.io/badge/denops-Documentation-yellow.svg )] ( https://vim-denops.github.io/denops-documentation/ )
56
67This is an official documentation of [ denops.vim] , an ecosystem of Vim/Neovim
You can’t perform that action at this time.
0 commit comments