Demo PR, don't merge #2637
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
pull_request_target: | |
permissions: | |
checks: write | |
contents: read | |
deployments: write | |
pages: write | |
id-token: write | |
jobs: | |
deploy: | |
if: ${{ github.repository != github.event.pull_request.head.repo.full_name }} | |
name: Preview | |
# SHA for security hardening. Points at 2.2.0 release | |
uses: primer/.github/.github/workflows/deploy_preview.yml@91fde6cc969a502562fdacdac48e35859b3a40b4 | |
with: | |
node_version: 18 | |
install: npm ci --legacy-peer-deps | |
build: npm run build | |
output_dir: apps/next-docs/out/ |