Update deploy.yml

This commit is contained in:
2025-09-11 13:28:24 -07:00
parent 6224fc8702
commit ef5f1a6418

View File

@@ -1,4 +1,4 @@
name: deploy-gitea-gce name: deploy-yunohost-gce
on: on:
workflow_dispatch: workflow_dispatch:
permissions: permissions:
@@ -24,11 +24,10 @@ jobs:
working-directory: terraform working-directory: terraform
env: env:
TF_VAR_project_id: ${{ steps.pj.outputs.pid }} TF_VAR_project_id: ${{ steps.pj.outputs.pid }}
run: | run: terraform import -input=false google_compute_firewall.yunohost_allow projects/${{ steps.pj.outputs.pid }}/global/firewalls/allow-yunohost >/dev/null 2>&1 || true
set +e
terraform import -input=false google_compute_firewall.gitea_allow projects/${{ steps.pj.outputs.pid }}/global/firewalls/allow-gitea-3000-ssh >/dev/null 2>&1 || true
- name: Terraform Apply - name: Terraform Apply
working-directory: terraform working-directory: terraform
env: env:
TF_VAR_project_id: ${{ steps.pj.outputs.pid }} TF_VAR_project_id: ${{ steps.pj.outputs.pid }}
run: terraform apply -auto-approve -input=false run: terraform apply -auto-approve -input=false