Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 67841094d5 | |||
| 9cb07d9cef | |||
| 809d26349b |
@@ -1,6 +1,7 @@
|
||||
name: Deploy
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
@@ -16,18 +17,13 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Download Build Artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: plans
|
||||
path: /workspace/unkin/terraform-nomad/plans
|
||||
|
||||
- name: Install Packages
|
||||
run: |
|
||||
dnf install terraform terragrunt vault jq -y
|
||||
|
||||
- name: Run Terraform Apply
|
||||
- name: Run Terraform
|
||||
env:
|
||||
VAULT_ROLEID: ${{ secrets.TERRAFORM_NOMAD_VAULT_ROLEID }}
|
||||
run: |
|
||||
make plan
|
||||
make apply
|
||||
|
||||
Reference in New Issue
Block a user