-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 878 Bytes
/
ci.yaml
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
name: CI
on:
push:
branches: [ master ]
#paths:
# - blog/*
pull_request:
branches: [ master ]
#paths:
# - blog/*
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cache
with:
path: |
~/.n*
!~/.m2/repository/com/gituhb/daggerok
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- uses: actions/setup-node@v2
with:
node-version: 14
- run: npm -v ; node -v ; npm i -E ; npm -v ; node -v
- run: npm run build-github-pages
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
branch: gh-pages # The branch the action should deploy to.
folder: src/.vuepress/dist # The folder the action should deploy.