-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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: | | ||
|