Skip to content

Commit

Permalink
chore: troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
devops-chris committed Dec 14, 2023
1 parent 0d7fe70 commit f5826bf
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/dev_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- development
paths:
- 'frontend/**'
workflow_dispatch:

env:
TERRAFORM_VERSION: "1.5.7"
Expand Down Expand Up @@ -46,15 +45,15 @@ jobs:

runs-on: ubuntu-latest
steps:
- name: Debug Info
run: |
echo "Event Name: ${{ github.event_name }}"
echo "Event Action: ${{ github.event.action }}"
echo "Pull Request Number: ${{ github.event.pull_request.number }}"
echo "Pull Request State: ${{ github.event.pull_request.state }}"
echo "Pull Request Merged: ${{ github.event.pull_request.merged }}"
echo "GitHub Event: ${{ toJson(github.event) }}"
if: always()
# - name: Debug Info
# run: |
# echo "Event Name: ${{ github.event_name }}"
# echo "Event Action: ${{ github.event.action }}"
# echo "Pull Request Number: ${{ github.event.pull_request.number }}"
# echo "Pull Request State: ${{ github.event.pull_request.state }}"
# echo "Pull Request Merged: ${{ github.event.pull_request.merged }}"
# echo "GitHub Event: ${{ toJson(github.event) }}"
# if: always()

- uses: actions/checkout@v3

Expand Down Expand Up @@ -91,7 +90,7 @@ jobs:
}
- name: Terraform Apply
if: ${{ github.event.pull_request.closed }} && ${{ github.event.pull_request.merged }}
if: ${{ github.event.pull_request.closed }} && ${{ github.event.pull_request.merged }}
uses: ./.github/actions/tf-apply
with:
terraform_directory: "terraform/eus/${{ env.ENVIRONMENT }}/frontend_asa"
Expand Down

0 comments on commit f5826bf

Please sign in to comment.