Skip to content

Commit

Permalink
chore: Bump GCloud Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kiosion committed Jan 25, 2024
1 parent b8b7065 commit 7de73c9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
elixir-version: 1.16.0
otp-version: 26
rebar3-version: 3.16
- name: Check formatting
- name: Check Formatting
run: (cd ./elixir-api && mix format --check-formatted)
- name: Restore dependencies cache
uses: actions/cache@v3
Expand Down Expand Up @@ -99,10 +99,13 @@ jobs:
matrix:
environment: [ dev, prod ]
steps:
- name: Authenticate GCloud Service Account
uses: google-github-actions/[email protected]
with:
credentials_json: ${{ secrets.GCP_CR_PRIVATE_KEY }}
- name: Setup GCloud SDK
uses: google-github-actions/setup-gcloud@v0.2.1
uses: google-github-actions/setup-gcloud@v2.1.0
with:
service_account_key: ${{ secrets.GCP_CR_PRIVATE_KEY }}
project_id: ${{ secrets.GCP_PROJECT_ID }}
- name: Deploy ${{ matrix.environment }} to Cloud Run
run: |
Expand Down

0 comments on commit 7de73c9

Please sign in to comment.