-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 856 Bytes
/
deploy.yml
File metadata and controls
39 lines (33 loc) · 856 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
32
33
34
35
36
37
38
39
name: Build and Deploy
on:
push:
branches:
- develop
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install ⬇️
run: CXXFLAGS="--std=c++14" npm install --legacy-peer-deps
- name: Test ✅
run: |
npm run test
npm run lint
- name: Build 🔧
run: npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: master
FOLDER: public