-
Notifications
You must be signed in to change notification settings - Fork 137
28 lines (24 loc) · 853 Bytes
/
main.yml
File metadata and controls
28 lines (24 loc) · 853 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
# This is a basic workflow to help you get started with Actions
name: Build and Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- name: install dependencies
run: npm ci
- name: Build
run: CI=false npm run build
env:
REACT_APP_GA: ${{ secrets.REACT_APP_GA }}
REACT_APP_DEPLOY_QUERY_ID: ${{ secrets.REACT_APP_DEPLOY_QUERY_ID }} # sha256("jetton.live").toDecimal() sliced to fit 53 bit (BN assertion, though query id allows 64) = 1083895200524364
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.