File tree Expand file tree Collapse file tree 4 files changed +39
-39
lines changed Expand file tree Collapse file tree 4 files changed +39
-39
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : Build and push to site
4+
5+ on :
6+ push :
7+ branches : [main]
8+
9+ workflow_dispatch :
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v1
17+ - name : Setup Node.js environment
18+ uses : actions/setup-node@v3
19+ with :
20+ node-version : v18.x
21+ - name : install yarn
22+ run : npm i -g yarn
23+ - name : run yarn
24+ run : yarn
25+ - name : build release
26+ run : yarn build:prod
27+ env :
28+ FLAVOR : ${{ github.ref_name }}
29+ - name : create distribution
30+ run : node .github/workflows/distribute.cjs ${{ github.ref_name }}
31+ env :
32+ API_KEY : ${{ secrets.API_KEY }}
33+ APP_ID : ${{ secrets.SECRET_KEY }}
34+ AUTH_DOMAIN : ${{ secrets.AUTH_DOMAIN }}
35+ MEASUREMENT_ID : ${{ secrets.MEASUREMENT_ID }}
36+ MESSAGE_SENDER_ID : ${{ secrets.MESSAGE_SENDER_ID }}
37+ PROJECT_ID : ${{ secrets.PROJECT_ID }}
38+ STORAGE_BUCKET : ${{ secrets.STORAGE_BUCKET }}
39+ GITHUB_REF : ${{ github.ref_name }}
File renamed without changes.
File renamed without changes.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments