@@ -17,46 +17,28 @@ jobs:
17
17
go-version : ' ^1.17.1'
18
18
- name : Install md2vim
19
19
run : go install git.foosoft.net/alex/md2vim@latest
20
- - name : Generate vim docs
21
- run : make docs
22
- - name : Commit changes
23
- env :
24
- GH_TOKEN : ${{ secrets.GH_TOKEN }}
25
- COMMIT_MSG : |
26
- [docgen] Update doc/orgmode.txt
27
- run : |
28
- git config user.name github-actions
29
- git config user.email [email protected]
30
- git add doc/orgmode.txt
31
- # Only commit and push if we have changes
32
- git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)
33
-
34
- api_docgen :
35
- runs-on : ubuntu-latest
36
- steps :
37
- - uses : actions/checkout@v4
38
- with :
39
- token : ${{ secrets.GH_TOKEN }}
40
20
- name : Install Neovim
41
21
uses : rhysd/action-setup-vim@v1
42
22
id : neovim
43
23
with :
44
24
neovim : true
45
- version : v0.7.0
25
+ version : v0.9.5
46
26
- name : Install lemmy-help
47
27
run : |
48
28
curl -Lq https://github.com/numToStr/lemmy-help/releases/latest/download/lemmy-help-x86_64-unknown-linux-gnu.tar.gz | tar xz
49
29
echo "$PWD" >> $GITHUB_PATH
50
30
- name : Generate api docs
51
31
run : make api_docs
32
+ - name : Generate vim docs
33
+ run : make docs
52
34
- name : Commit changes
53
35
env :
54
36
GH_TOKEN : ${{ secrets.GH_TOKEN }}
55
37
COMMIT_MSG : |
56
- [docgen] Update doc/orgmode_api.txt
38
+ [docgen] Update docs
57
39
run : |
58
40
git config user.name github-actions
59
41
git config user.email [email protected]
60
- git add doc/orgmode_api .txt
42
+ git add doc/orgmode .txt
61
43
# Only commit and push if we have changes
62
44
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)
0 commit comments