Merge pull request #9 from Hestia-Homes/main

changed branch requirements
This commit is contained in:
KhalimCK 2023-07-05 19:37:12 +01:00 committed by GitHub
commit 1584f8a417
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ jobs:
terraform workspace select ${{ github.event.pull_request.base.ref }} || terraform workspace new ${{ github.event.pull_request.base.ref }}
- name: Deploy to Dev
if: github.event.pull_request.base.ref == 'main' && github.event.pull_request.head.ref == 'dev' && github.event.pull_request.merged == true
if: github.event.pull_request.head.ref == 'dev' && github.event.pull_request.merged == true
run: cd infrastructure/terraform && terraform apply -var-file=dev.tfvars -auto-approve
env:
name: dev