Skip to content

Commit

Permalink
deploy-on-push
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-jameson committed Dec 19, 2024
1 parent be6d225 commit 9d0acc5
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/deploy-on-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ jobs:
DEPLOY_ENV="${ADDR[1]}"
echo "::set-output name=DEPLOY_ENV::$DEPLOY_ENV"
IFS=' '
- name: Get PR Status Checks
id: get-pr-checks
uses: octokit/request-action@v2.x
with:
route: GET /repos/{owner}/{repo}/commits/{ref}/status
owner: ${{ github.repository_owner }}
repo: TANF-app
ref: ${{ github.event.pull_request.head.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Extract current PR state
id: get-pr-state
run: |
STATE=${{ fromJson(steps.get-pr-checks.outputs.data).state }}
echo "::set-output name=STATE::$STATE"
echo "Current PR state: $STATE"
#- name: Get PR Status Checks
# id: get-pr-checks
# uses: octokit/request-action@v2.x
# with:
# route: GET /repos/{owner}/{repo}/commits/{ref}/status
# owner: ${{ github.repository_owner }}
# repo: TANF-app
# ref: ${{ github.event.pull_request.head.ref }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#- name: Extract current PR state
# id: get-pr-state
# run: |
# STATE=${{ fromJson(steps.get-pr-checks.outputs.data).state }}
# echo "::set-output name=STATE::$STATE"
# echo "Current PR state: $STATE"

- name: Live Environment Badge
uses: schneegans/dynamic-badges-action@v1.7.0
Expand Down

0 comments on commit 9d0acc5

Please sign in to comment.