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