Skip to content

Release tracking

Release tracking #1578

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 last verified HEAD of main branch.
uses: primer/.github/.github/workflows/deploy_preview.yml@cd223835608ca5e9401e0ffe6081f6d2fcc912f3
with:
node_version: 18
install: npm ci --legacy-peer-deps && cd apps/docs && npm ci --legacy-peer-deps && cd ..
build: npm run build && npm run build:docs && npm run build:storybook
output_dir: apps/docs/public/