Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use different template for auth #27

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/build-int.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: build-int

on:
push:
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -72,7 +70,7 @@ jobs:
--set-env-vars DATABASE_URL="${{ secrets.DATABASE_URL }}" \
--set-env-vars [email protected] \
--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 protected] \
--set-env-vars HOST_DOMAIN=int-uservoice.bcc.no \
Expand Down