mirror of
https://github.com/multipleof4/git.planetrenox.com.git
synced 2026-01-14 08:27:56 +00:00
Update deploy.yml
This commit is contained in:
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user