File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 6
6
docs :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v2
9
+ - uses : actions/checkout@v3
10
10
- name : Install Rust
11
11
uses : hecrj/setup-rust-action@v1
12
12
- name : Generate Docs
@@ -31,11 +31,11 @@ jobs:
31
31
needs : docs
32
32
steps :
33
33
- name : Checkout
34
- uses : actions/checkout@v2
34
+ uses : actions/checkout@v3
35
35
with :
36
36
ref : ${{ matrix.branch }}
37
37
- name : Cache
38
- uses : actions/cache@v2
38
+ uses : actions/cache@v3
39
39
with :
40
40
path : |
41
41
~/.cargo/.crates.toml
@@ -55,11 +55,11 @@ jobs:
55
55
run : cd book && mdbook build
56
56
57
57
- name : Deploy
58
- if : github.ref == 'refs/heads/ main' || github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/tags/')
59
- run : |
60
- wget https://khonsu.dev/dossier/builds/main/dossier
61
- chmod a+x dossier
62
- ./dossier --token $TOKEN --url wss://khonsu.dev/_ws project sync bonsaidb book/book/html/ / ${{ github.ref_name }}/guide
63
- env :
64
- TOKEN : ${{ secrets.DOSSIER_API_KEY_ID }}
65
- BONSAIDB_TOKEN_SECRET : ${{ secrets.DOSSIER_API_KEY }}
58
+ uses : khonsulabs/sync-to-dossier@ main
59
+ with :
60
+ url : ${{ secrets.DOSSIER_URL }}
61
+ api-key-id : ${{ secrets.DOSSIER_API_KEY_ID }}
62
+ api-key : ${{ secrets.DOSSIER_API_KEY }}
63
+ project : bonsaidb
64
+ from : book/book/html/
65
+ to : / ${{ github.ref_name }}/guide
You can’t perform that action at this time.
0 commit comments