fix: ignore gcloud-auth-key

This commit is contained in:
Weihang Lo
2020-04-19 08:06:36 +08:00
parent 2d3734c769
commit 861480816f
2 changed files with 4 additions and 2 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' > gcloud_auth_key.json cat <<'EOF' > .secrets/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 }}/gcloud_auth_key.json GOOGLE_APPLICATION_CREDENTIALS: ${{ github.workspace }}/.secrets/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

@ -21,3 +21,5 @@
.idea/ .idea/
*.tmproj *.tmproj
.vscode/ .vscode/
# Secrets
.secrets/