Skip to content

Commit

Permalink
test null
Browse files Browse the repository at this point in the history
  • Loading branch information
skoudoro committed Sep 12, 2023
1 parent bd91786 commit bb08b1d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ jobs:
HEAD: ${{ github.event.pull_request.head.repo.full_name }}
BASE: ${{ github.repository }}
NB: ${{github.event.number}}
REF: ${{github.ref}}
STATUS: ${{github.event.pull_request.head.repo.full_name != github.repository}}
steps:
- name: Comment on PR
uses: hasura/[email protected]
if: ${{github.event.number}} && ${{ github.event.pull_request.head.repo.full_name != github.repository }}
if: ${{ github.event.pull_request.head.repo.full_name != '' && github.event.pull_request.head.repo.full_name != github.repository }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
Expand Down Expand Up @@ -71,7 +72,7 @@ jobs:

- name: Deploy to PR preview
uses: peaceiris/actions-gh-pages@v3
if: ${{github.event.number}} && ${{ github.event.pull_request.head.repo.full_name != github.repository }}
if: ${{ github.event.pull_request.head.repo.full_name != '' && github.event.pull_request.head.repo.full_name != github.repository }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html
Expand All @@ -83,7 +84,7 @@ jobs:

- name: Update comment
uses: hasura/[email protected]
if: ${{github.event.number}} && ${{ github.event.pull_request.head.repo.full_name != github.repository }}
if: ${{ github.event.pull_request.head.repo.full_name != '' && github.event.pull_request.head.repo.full_name != github.repository }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
Expand Down

0 comments on commit bb08b1d

Please sign in to comment.