File tree Expand file tree Collapse file tree 5 files changed +49
-57
lines changed Expand file tree Collapse file tree 5 files changed +49
-57
lines changed Original file line number Diff line number Diff line change 1+ name : Generate vim help
2+ on :
3+ push :
4+ branches :
5+ - master
6+ workflow_dispatch :
7+ schedule :
8+ - cron : ' 5 12 * * *'
9+
10+ jobs :
11+ deploy :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : checkout master
15+ uses : actions/checkout@v2
16+ with :
17+ path : work
18+ - name : Checkout gh-pages
19+ uses : actions/checkout@v2
20+ with :
21+ path : target
22+ ref : gh-pages
23+ - name : Setup Vim
24+ uses : thinca/action-setup-vim@v1
25+ with :
26+ vim_version : ' v8.2.0020'
27+ vim_type : ' Vim'
28+ - name : Generate new document
29+ run : |
30+ cd work
31+ # Create html documents
32+ make html
33+
34+ cd ..
35+ # install
36+ cp work/target/html/doc/*.html target
37+ - name : Commit updated master branch
38+ uses : EndBug/add-and-commit@v7
39+ with :
40+ cwd : ' ./target'
41+ author_name : ' ${{ github.actor }}'
42+ author_email : ' ${{ github.actor }}@users.noreply.github.com'
43+ message : |-
44+ Generated by GitHub workflow ${{ github.run_id }}
45+
46+ https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
47+ branch : gh-pages
48+ env :
49+ GITHUB_TOKEN : ${{ secrets.VIMDOC_JP_TOKEN }}
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments