Skip to content

Commit 3bb2d59

Browse files
committed
use github secret
1 parent 1ca2c0c commit 3bb2d59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy-xbarappcom.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020

2121
- name: Run sitegen
2222
working-directory: tools/sitegen
23+
env:
24+
XBAR_GITHUB_ACCESS_TOKEN: ${{ secrets.XBAR_GITHUB_ACCESS_TOKEN }}
2325
run: ./run.sh
2426

2527
- name: Auth with Google Cloud
@@ -33,6 +35,8 @@ jobs:
3335
version: ">= 363.0.0"
3436

3537
- name: Deploy to Google App Engine
38+
env:
39+
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
3640
run: |
3741
VERSION=$(date +%Y%m%d%H%M%S)
3842
gcloud app deploy --project xbarapp --version $VERSION --quiet

0 commit comments

Comments
 (0)