File tree 2 files changed +37
-1
lines changed
2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 18
18
with :
19
19
check_filenames : true
20
20
check_hidden : true
21
- skip : target,.jj
21
+ skip : target,.jj,*.lock
22
22
ignore_words_list : crate,nd,nD
Original file line number Diff line number Diff line change
1
+ name : website
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ build-prerelease-docs :
13
+ strategy :
14
+ matrix :
15
+ os : [ubuntu-latest]
16
+ runs-on : ${{ matrix.os }}
17
+
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - run : " git fetch origin gh-pages --depth=1"
21
+ - uses : actions/setup-python@v4
22
+ with :
23
+ python-version : 3.11
24
+ - name : Install poetry
25
+ uses : abatilo/actions-poetry@v2
26
+ with :
27
+ poetry-version : latest
28
+ - name : Install dependencies
29
+ run : " poetry install"
30
+ - name : Compile and deploy docs
31
+ run : |
32
+ git config user.name jj-docs-bot
33
+ git config user.email [email protected]
34
+ poetry run -- mike deploy prerelease main --push
35
+ - name : " Show `git diff --stat`"
36
+ run : git diff --stat gh-pages^ gh-pages || echo "(No diffs)"
You can’t perform that action at this time.
0 commit comments