Skip to content

Commit

Permalink
another test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbuechele committed Sep 21, 2024
1 parent 7183434 commit b128d75
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: 'actions/checkout@v4'
- uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS_JSON }}'

- name: Prepare environment
- name: 'deploy'
env:
Dotenv: ${{ secrets.DOTENV_ME }}
run: |
Expand All @@ -24,15 +27,6 @@ jobs:
npx dotenv-vault pull production
npx ts-node scripts/merge-envs.ts
npm run build
- uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS_JSON }}'

- name: 'build'
run: |
gcloud meta list-files-for-upload
gcloud builds submit --config cloudbuild.yaml .
- name: 'run'
run: gcloud run deploy crew --image europe-west1-docker.pkg.dev/gmail-reminder-api/cloud-run-source-deploy/crew:latest --env-vars-file ./.env.json --region europe-west1 --allow-unauthenticated
gcloud run deploy crew --image europe-west1-docker.pkg.dev/gmail-reminder-api/cloud-run-source-deploy/crew:latest --env-vars-file ./.env.json --region europe-west1 --allow-unauthenticated

0 comments on commit b128d75

Please sign in to comment.