blob: 01afe7730b68688261731746ca889f6a33ed2d90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
name: Build and deploy
on:
push:
branches: [master]
schedule:
- cron: '0 0 1 * *' # Monthly
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Clone Vim
run: |
git clone --bare https://github.com/vim/vim.git
- name: Build help tag version list
run: |
./difftags ./vim.git > tag-versions
- name: Archive artifact
uses: actions/upload-artifact@v2
with:
path: tag-versions
- name: Build frontend
run: |
npm install
npm run build
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
|