Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@ jobs:
- run: npm test

- name: Deploy Preview
if: ${{github.event_name == 'pull_request' && !(github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]')}}
# Only run this job if the repository is NOT a fork and the actor is not dependabot or renovate
if: ${{ github.event.pull_request.head.repo.full_name == github.repository && !(github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]') }}
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: out
target-folder: preview/preview/preview/${{github.event.number}}
- name: Comment about preview
if: ${{github.event_name == 'pull_request' && !(github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]')}}
# Only run this job if the repository is NOT a fork and the actor is not dependabot or renovate
if: ${{ github.event.pull_request.head.repo.full_name == github.repository && !(github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]') }}
uses: marocchino/sticky-pull-request-comment@v2
with:
message: |
Expand Down