File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66 paths :
7- - ' docs/**'
7+ - ' docs/**'
88jobs :
99 deploy-web-gcp :
1010 name : Deploy web app to GCP
@@ -13,33 +13,33 @@ jobs:
1313 run :
1414 working-directory : docs
1515 permissions :
16- contents : " read"
17- id-token : " write"
16+ contents : ' read'
17+ id-token : ' write'
1818 steps :
1919 - id : Checkout
2020 uses : actions/checkout@v3
2121 - uses : actions/setup-node@v2
2222 with :
23- node-version : 16 .x
23+ node-version : 22 .x
2424 cache : yarn
2525 cache-dependency-path : ./docs/yarn.lock
2626
27- - id : " auth"
28- uses : " google-github-actions/auth@v1"
27+ - id : ' auth'
28+ uses : ' google-github-actions/auth@v1'
2929 with :
30- credentials_json : " ${{ secrets.GCP_SA_KEY }}"
30+ credentials_json : ' ${{ secrets.GCP_SA_KEY }}'
3131
3232 - name : ' Set up Cloud SDK'
3333 uses : ' google-github-actions/setup-gcloud@v1'
3434
35- - name : " Install dependencies"
35+ - name : ' Install dependencies'
3636 run : yarn install --frozen-lockfile
3737
38- - name : " Build application"
39- run : " yarn build"
38+ - name : ' Build application'
39+ run : ' yarn build'
4040
41- - name : " Set project ID"
42- run : " gcloud config set project react-native-header"
41+ - name : ' Set project ID'
42+ run : ' gcloud config set project react-native-header'
4343
44- - name : " Deploy"
45- run : " yarn deploy --service-account ${{ vars.GCP_SA_EMAIL }}"
44+ - name : ' Deploy'
45+ run : ' yarn deploy --service-account ${{ vars.GCP_SA_EMAIL }}'
You can’t perform that action at this time.
0 commit comments