Use this action to deploy GCP action and remove old versions
Required The workload identity provider
Required GCP service account
Required The ID of the app engine service.
Required The ID of the app engine service.
Required The path to the GCP app.yaml file.
Extra arguments to use when deploying the application.
on: [push]
jobs:
deploy_job:
runs-on: ubuntu-latest
name: deploy
steps:
- name: Deploy to app engine
uses: Panenco/gcp-deploy-action@v3
with:
workload_identity_provider: "{{ secrets.WORKLOAD_IDENTITY_PROVIDER }}"
service_account: "{{ secrets.SERVICE_ACCOUNT }}"
service_id: "{{ secrets.GCP_SERVICE_ID }}"
project_id: "{{ secrets.GCP_PROJECT_ID }}"
app_yaml_path: "staging.yml"