Skip to content

Commit 9c626eb

Browse files
committed
ci: fix tf apply workflow
1 parent 0d98cc7 commit 9c626eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/terraform_apply.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Terraform Plan"
1+
name: "Terraform Apply"
22
on:
33
workflow_dispatch:
44
push:
@@ -8,7 +8,7 @@ on:
88
- hosting/terraform/grafana/*.tf
99
- hosting/terraform/grafana/dashboards/*.json
1010
jobs:
11-
plan:
11+
apply:
1212
if: ${{github.repository == 'ymgyt/syndicationd'}}
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 60
@@ -32,7 +32,7 @@ jobs:
3232
- name: terraform apply
3333
id: apply
3434
continue-on-error: true
35-
run: nix develop .#ci --accept-flake-config --command just tf grafana apply -no-color
35+
run: nix develop .#ci --accept-flake-config --command just tf grafana apply -no-color -auto-approve
3636
env:
3737
TF_TOKEN_app_terraform_io: "${{secrets.TF_TOKEN_APP_TERRAFORM_IO}}"
3838
TF_VAR_grafana_sa_token: "${{secrets.GRAFANA_SA_TOKEN}}"

0 commit comments

Comments
 (0)