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:
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
@@ -24,11 +24,10 @@ jobs:
|
||||
working-directory: terraform
|
||||
env:
|
||||
TF_VAR_project_id: ${{ steps.pj.outputs.pid }}
|
||||
run: |
|
||||
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
|
||||
run: terraform import -input=false google_compute_firewall.yunohost_allow projects/${{ steps.pj.outputs.pid }}/global/firewalls/allow-yunohost >/dev/null 2>&1 || true
|
||||
- name: Terraform Apply
|
||||
working-directory: terraform
|
||||
env:
|
||||
TF_VAR_project_id: ${{ steps.pj.outputs.pid }}
|
||||
run: terraform apply -auto-approve -input=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user