Skip to content

Commit bec20eb

Browse files
committed
ci: renrew to use GitHub workflow
1 parent d1e9b1e commit bec20eb

File tree

5 files changed

+46
-57
lines changed

5 files changed

+46
-57
lines changed

.github/workflows/generate.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Generate vim help
2+
on:
3+
push:
4+
branches:
5+
- master
6+
workflow_dispatch:
7+
schedule:
8+
- cron: '36 20 * * Sat'
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 tags
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: 'Generated by GitHub workflow ${{ github.run_id }}'
44+
branch: gh-pages
45+
env:
46+
GITHUB_TOKEN: ${{ secrets.VIMDOC_JP_TOKEN }}

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

tools/[email protected]

-3.17 KB
Binary file not shown.

tools/deploy-gh-pages.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

tools/install_sshkey_github.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)