From d139f74e72bb421f4d5c9c47fa1031e6ad3a0410 Mon Sep 17 00:00:00 2001 From: John Carter Date: Wed, 11 Oct 2023 22:09:41 +1300 Subject: [PATCH] Add initial github workflow --- .github/workflows/deploy.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/deploy.yaml diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml new file mode 100644 index 0000000..c7c0d9d --- /dev/null +++ b/.github/workflows/deploy.yaml @@ -0,0 +1,15 @@ +name: Deploy +on: [push] +jobs: + deploy: + permissions: + contents: 'read' + id-token: 'write' + steps: + - uses: 'actions/checkout@v4' + - id: 'auth' + name: 'Authenticate to Google Cloud' + uses: 'google-github-actions/auth@v1' + with: + workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} + service_account: ${{ env.GCP_SERVICE_ACCOUNT }}