Skip to content

Merge pull request #37 from guivaloz/guivaloz/actualizaciones-promoci… #37

Merge pull request #37 from guivaloz/guivaloz/actualizaciones-promoci…

Merge pull request #37 from guivaloz/guivaloz/actualizaciones-promoci… #37

name: Google Cloud App Engine deploy
on:
push:
branches: ["main"]
jobs:
production-deploy:
if: github.repository == 'PJECZ/pjecz-carina-api-key'
runs-on: ubuntu-latest
permissions:
contents: "read"
id-token: "write"
steps:
- uses: "actions/checkout@v3"
- name: "authenticate"
uses: "google-github-actions/auth@v1"
with:
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SA_KEY }}
- name: "deploy"
uses: "google-github-actions/deploy-appengine@v1"
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
deliverables: "app.yaml"
working_directory: "."
promote: true