Skip to content

Commit

Permalink
fix: replace working-directory to cd command
Browse files Browse the repository at this point in the history
  • Loading branch information
woowahan-neo committed Jan 9, 2025
1 parent af2813f commit 2944331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
TF_API_TOKEN: ${{ secrets.TF_API_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
working-directory: terraform/environments/${{ github.event.inputs.environment }}
run: |
cd terraform/environments/${{ github.event.inputs.environment }}
terraform init
terraform plan -out=tfplan
terraform apply tfplan

0 comments on commit 2944331

Please sign in to comment.