Skip to content

Comment customisation #98

Comment customisation

Comment customisation #98

Workflow file for this run

name: Preview example site
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
deploy-preview:
runs-on: ubuntu-latest
# Only run if this PR is not from a fork
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy preview
uses: rossjrw/pr-preview-action@${{ github.event.pull_request.head.sha }}

Check failure on line 19 in .github/workflows/preview-example.yml

View workflow run for this annotation

GitHub Actions / Preview example site

Invalid workflow file

The workflow is not valid. .github/workflows/preview-example.yml (Line: 19, Col: 15): Unrecognized named-value: 'github'. Located at position 1 within expression: github.event.pull_request.head.sha
with:
source-dir: test