-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (27 loc) · 812 Bytes
/
deploy.yml
File metadata and controls
31 lines (27 loc) · 812 Bytes
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
name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
uses: actions/setup-node@master
with:
node-version: 16
- name: Install
run: yarn
- name: Build
run: yarn run build
env:
GAID: ${{ secrets.GAID }}
GITHUB_CLIENT_ID: ${{ secrets.GITHUB_CLIENT_ID }}
GITHUB_CLIENT_SECRET: ${{ secrets.GITHUB_CLIENT_SECRET }}
- name: Deploy
run: yarn run deploy
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}