@@ -17,46 +17,28 @@ jobs:
1717 go-version : ' ^1.17.1'
1818 - name : Install md2vim
1919 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 github-actions@github.com
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 }}
4020 - name : Install Neovim
4121 uses : rhysd/action-setup-vim@v1
4222 id : neovim
4323 with :
4424 neovim : true
45- version : v0.7.0
25+ version : v0.9.5
4626 - name : Install lemmy-help
4727 run : |
4828 curl -Lq https://github.com/numToStr/lemmy-help/releases/latest/download/lemmy-help-x86_64-unknown-linux-gnu.tar.gz | tar xz
4929 echo "$PWD" >> $GITHUB_PATH
5030 - name : Generate api docs
5131 run : make api_docs
32+ - name : Generate vim docs
33+ run : make docs
5234 - name : Commit changes
5335 env :
5436 GH_TOKEN : ${{ secrets.GH_TOKEN }}
5537 COMMIT_MSG : |
56- [docgen] Update doc/orgmode_api.txt
38+ [docgen] Update docs
5739 run : |
5840 git config user.name github-actions
5941 git config user.email github-actions@github.com
60- git add doc/orgmode_api .txt
42+ git add doc/orgmode .txt
6143 # Only commit and push if we have changes
6244 git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)
0 commit comments