Skip to content

Commit

Permalink
Update GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroCool2u committed Jun 17, 2023
1 parent 4da9c04 commit 9b172f8
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ jobs:

steps:
- name: Retrieving the repo
uses: actions/checkout@v1
- name: Setting up GCloud Auth
uses: actions/gcloud/auth@master
env:
GCLOUD_AUTH: ${{ secrets.GCLOUD_AUTH }} # You must run base64 ./gcp_creds.json, then paste the output into the secrets area in your repo settings.
- name: Run deployment
uses: actions/gcloud/cli@master
env:
CLOUDSDK_CORE_PROJECT: facts-sender
uses: actions/checkout@v3
- name: Preparing GCloud Auth
uses: 'google-github-actions/auth@v1'
with:
entrypoint: gcloud
args: app deploy ./front_end_app.yaml --quiet
credentials_json: '${{ secrets.GCLOUD_AUTH }}' # You must run base64 ./gcp_creds.json, then paste the output into the secrets area in your repo settings.
- name: Setup GCloud CLI
uses: 'google-github-actions/setup-gcloud@v1'
with:
project_id: "facts-sender"
- name: Deploy
run: "gcloud app deploy ./front_end_app.yaml --quiet"

0 comments on commit 9b172f8

Please sign in to comment.