From 861480816ffd2f633bb3b955c8cef08814d48b95 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Sun, 19 Apr 2020 08:06:36 +0800 Subject: [PATCH] fix: ignore gcloud-auth-key --- .github/workflows/main.yaml | 4 ++-- .helmignore | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 33c90b8..d4fd515 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -32,12 +32,12 @@ jobs: helm plugin install https://github.com/hayorov/helm-gcs - name: Dump GCloud auth key run: | - cat <<'EOF' > gcloud_auth_key.json + cat <<'EOF' > .secrets/gcloud_auth_key.json ${{ secrets.GCLOUD_AUTH_KEY }} EOF - name: Release chart env: - GOOGLE_APPLICATION_CREDENTIALS: ${{ github.workspace }}/gcloud_auth_key.json + GOOGLE_APPLICATION_CREDENTIALS: ${{ github.workspace }}/.secrets/gcloud_auth_key.json run: | helm repo add hahow gs://hahow-helm-charts helm repo update diff --git a/.helmignore b/.helmignore index 0e8a0eb..f986f91 100644 --- a/.helmignore +++ b/.helmignore @@ -21,3 +21,5 @@ .idea/ *.tmproj .vscode/ +# Secrets +.secrets/