Skip to content

Commit

Permalink
Add cd before plan
Browse files Browse the repository at this point in the history
  • Loading branch information
Guysnacho committed Jul 16, 2024
1 parent 72317c9 commit d0b7b89
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/predeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,20 @@ jobs:
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
terraform_version: 1.9.2
- run: echo Looking around 👁️👁️
- run: ls
- run: cd terraform
- run: echo Looking around 👁️👁️
- run: ls
- run: terraform init
- run: pwd
- run: |
echo Looking around 👁️👁️
ls
cd terraform
echo Looking around 👁️👁️
ls
terraform init
- name: 🏗️ Terraform Plan
run: terraform plan -no-color
# - run: echo ${{ steps.plan.outputs.stdout }}
# - run: echo ${{ steps.plan.outputs.stderr }}
# - run: echo ${{ steps.plan.outputs.exitcode }}
run: |
cd terraform
terraform plan -no-color
- run: echo ${{ steps.plan.outputs.stdout }}
- run: echo ${{ steps.plan.outputs.stderr }}
- run: echo ${{ steps.plan.outputs.exitcode }}
web-deploy:
name: 💫 Deploy
runs-on: ubuntu-latest
Expand Down

0 comments on commit d0b7b89

Please sign in to comment.