diff --git a/.github/workflows/build-int.yml b/.github/workflows/build-int.yml index 5b849ec39..4a51ef613 100644 --- a/.github/workflows/build-int.yml +++ b/.github/workflows/build-int.yml @@ -1,4 +1,4 @@ -name: build +name: build-int on: push: @@ -35,12 +35,10 @@ jobs: - run: echo ${{ steps.vars.outputs.sha7 }} if: ${{ github.event_name == 'push' }} - - name: Authenticate into Google Cloud Platform - uses: google-github-actions/setup-gcloud@main + - name: Authenticate into Google Cloud + uses: google-github-actions/auth@v1 with: - project_id: ${{ secrets.GCP_PROJECT }} - service_account_key: ${{ secrets.GCLOUD_KEY }} - export_default_credentials: true + credentials_json: ${{ secrets.GCLOUD_KEY }} - name: Configure Docker to use Google Cloud Platform run: "gcloud auth configure-docker --quiet" @@ -72,7 +70,7 @@ jobs: --set-env-vars DATABASE_URL="${{ secrets.DATABASE_URL }}" \ --set-env-vars EMAIL_NOREPLY=noreply@bcc.no \ --set-env-vars EMAIL_SMTP_HOST=smtp.office365.com \ - --set-env-vars EMAIL_SMTP_PASSWORD=${{ secrets.EMAIL_SMTP_PASSWORD }} \ + --set-env-vars "^DELIM^EMAIL_SMTP_PASSWORD=${{ secrets.EMAIL_SMTP_PASSWORD }}" \ --set-env-vars EMAIL_SMTP_PORT=587 \ --set-env-vars EMAIL_SMTP_USERNAME=noreply@bcc.no \ --set-env-vars HOST_DOMAIN=int-uservoice.bcc.no \