Add build and deploy actions. #1
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -51,6 +51,6 @@ jobs:
|
||||
working-directory: ./terraform
|
||||
|
||||
- name: Terraform Apply
|
||||
if: ${{ (steps.check_changes.outputs.changes == 'true') && (github.ref == 'refs/heads/master') }}
|
||||
if: ${{ (steps.check_changes.outputs.changes == 'true') && (github.ref == 'refs/heads/main') }}
|
||||
run: terraform apply -auto-approve tfplan
|
||||
working-directory: ./terraform
|
||||
Reference in New Issue
Block a user