From 36d59979e8bfbdce965c9575962c6c4cda270ee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Rejet=C3=A9?= Date: Fri, 2 Apr 2021 10:40:35 +0900 Subject: [PATCH] remove non-required gcloud setup vars --- .github/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c4893f0..38bb294 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,6 +18,7 @@ jobs: with: project_id: ${{ secrets.GCLOUD_PROJECT }} service_account_key: ${{ secrets.GCLOUD_AUTH }} + export_default_credentials: true - name: Configure docker run: gcloud auth configure-docker @@ -38,11 +39,9 @@ jobs: - name: Deploy uses: google-github-actions/deploy-cloudrun@main with: - credentials: ${{ secrets.GCLOUD_AUTH }} image: gcr.io/${{ secrets.GCLOUD_PROJECT }}/${{ secrets.GCLOUD_APP_NAME }}:${{ steps.get_version.outputs.version }} service: ${{ secrets.GCLOUD_APP_NAME }} region: ${{ secrets.GCLOUD_REGION }} - project_id: ${{ secrets.GCLOUD_PROJECT }} - name: Notify Sentry of deployment uses: getsentry/action-release@v1.0.0