Merge pull request #2 from hahow/fix/broken-cd-script

fix: broken CD script
This commit is contained in:
Chi-En Wu
2020-04-20 09:54:27 +08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@ -32,12 +32,12 @@ jobs:
helm plugin install https://github.com/hayorov/helm-gcs helm plugin install https://github.com/hayorov/helm-gcs
- name: Dump GCloud auth key - name: Dump GCloud auth key
run: | run: |
cat <<'EOF' > .secrets/gcloud_auth_key.json cat <<'EOF' > gcloud_auth_key.json
${{ secrets.GCLOUD_AUTH_KEY }} ${{ secrets.GCLOUD_AUTH_KEY }}
EOF EOF
- name: Release chart - name: Release chart
env: env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ github.workspace }}/.secrets/gcloud_auth_key.json GOOGLE_APPLICATION_CREDENTIALS: ${{ github.workspace }}/gcloud_auth_key.json
run: | run: |
helm repo add hahow gs://hahow-helm-charts helm repo add hahow gs://hahow-helm-charts
helm repo update helm repo update

View File

@ -22,4 +22,4 @@
*.tmproj *.tmproj
.vscode/ .vscode/
# Secrets # Secrets
.secrets/ gcloud_auth_key.json