Skip to content

Commit

Permalink
deploy yaml updated
Browse files Browse the repository at this point in the history
  • Loading branch information
KevJimenez committed Feb 2, 2024
1 parent a51e126 commit 44d41c7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,10 @@ jobs:
- name: Terraform Init
run: terraform init

- name: Create a tfvars file
run: |
echo "cf_email=\"${{ secrets.CF_EMAIL }}\"" > my_variables.tfvars
echo "cf_api=\"${{ secrets.CF_API }}\"" >> my_variables.tfvars
echo "zonecf_id=\"${{ secrets.ZONECF_ID }}\"" >> my_variables.tfvars
echo "pub_key=\"${{ secrets.PUB_KEY }}\"" >> my_variables.tfvars
# On push to "main", build or change infrastructure according to Terraform configuration files
# Note: It is recommended to set up a required "strict" status check in your repository for "Terraform Cloud". See the documentation on "strict" required status checks for more information: https://help.github.com/en/github/administering-a-repository/types-of-required-status-checks
- name: Terraform Apply
run: terraform apply -auto-approve -input=false -var-file=my_variables.tfvars
run: terraform apply -auto-approve -input=false

- name: Delay for 7s
run: sleep 7s
Expand Down

0 comments on commit 44d41c7

Please sign in to comment.