Skip to content

Release tracking

Release tracking #1725

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.1.1 release
uses: primer/.github/.github/workflows/deploy_preview.yml@2a60f4cc62889bd218f3019ce4a090ff89b71cca
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/