We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3162008 commit e3ee5a5Copy full SHA for e3ee5a5
1 file changed
.github/workflows/deploy-gcp.yaml
@@ -1,12 +1,6 @@
1
-name: Terraform Deployment
+name: Deploy cloud resources on GCP using Terraform
2
3
on:
4
- push:
5
- branches:
6
- - main
7
- workflow_dispatch:
8
9
10
workflow_run:
11
workflows: ["Build and Push to Google Cloud"]
12
types:
@@ -24,8 +18,8 @@ env:
24
18
TAG: latest
25
19
26
20
jobs:
27
- build-and-push:
28
- name: Build and Push Docker Image
21
+ deploy-gcp-resources:
22
+ name: Deploy cloud resources on GCP using Terraform
29
23
runs-on: ubuntu-latest
30
31
steps:
@@ -40,10 +34,10 @@ jobs:
40
34
service_account: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}
41
35
42
36
- name: Setup Terraform
43
- uses: hashicorp/setup-terraform@v1
37
+ uses: hashicorp/setup-terraform@v3
44
38
with:
45
39
terraform_version: 1.10.5
46
-
+
47
- name: Terraform init and validate
48
run: |
49
terraform -chdir=infra/gcp init
0 commit comments