Skip to content

Commit

Permalink
skip is better
Browse files Browse the repository at this point in the history
  • Loading branch information
zbycz committed Oct 8, 2024
1 parent ef79049 commit 04cb0aa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ssr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ on:
deployment_status:
jobs:
check-ssr:
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- name: Skip SSR check
if: github.event_name != 'deployment_status' || github.event.deployment_status.state != 'success'
run: echo "Waiting for deployment to complete"
- name: Check if node/6 is ssr rendered
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
run: |
URL=$(echo ${{ github.event.deployment_status.environment_url }})/node/6
echo "Fetch the URL: $URL"
Expand Down

0 comments on commit 04cb0aa

Please sign in to comment.