ci: release notification #5765
Workflow file for this run
This file contains 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 (fork) | |
on: | |
pull_request_target: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
deploy-preview: | |
# target repository for pull_request is different from source repository | |
if: ${{ github.repository != github.event.pull_request.head.repo.full_name }} | |
name: Preview | |
uses: primer/.github/.github/workflows/deploy_preview.yml@0cec9b9914f358846163f2428663b58da41028c9 | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
with: | |
node_version: 18 | |
install: npm ci --legacy-peer-deps && cd docs && npm ci --legacy-peer-deps && cd .. | |
build: npm run build:docs:preview | |
output_dir: docs/public |