Skip to content

main website added in toc header #3

main website added in toc header

main website added in toc header #3

# vercel-pull-request.yml
name: Create vercel preview URL on pull request
on:
pull_request:
branches:
- trunk
jobs:
build_and_deploy:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
repository-projects: write
steps:
- uses: actions/checkout@v4
- uses: amondnet/vercel-action@v20
id: vercel-deploy
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.ACCESS_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJ_ID }}
- name: preview-url
run: |
echo ${{ steps.vercel-deploy.outputs.preview-url }}