-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (30 loc) · 829 Bytes
/
ci.yml
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
on: push
name: Release
jobs:
release:
name: Release
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master'
steps:
- name: Install
uses: actions/checkout@v3
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
run: npm i
- name: Build
id: build
run: npm run build
env:
supabase: ${{ secrets.supabase }}
- name: Docs
env:
supabase: ${{ github.secrets.supabase }}
id: build
run: npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN_KEY }}
BRANCH: gh-pages
FOLDER: docs/.vuepress/dist