Skip to content

build(deps): bump nanoid from 3.3.7 to 3.3.8 #1

build(deps): bump nanoid from 3.3.7 to 3.3.8

build(deps): bump nanoid from 3.3.7 to 3.3.8 #1

name: Create Vercel preview URL on pull request
on:
pull_request:
branches:
- main
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.GITHUB_TOKEN }}
vercel-org-id: ${{ secrets.ORG_ID }}
vercel-project-id: ${{ secrets.PROJECT_ID }}
- name: preview-url
run: |
echo ${{ steps.vercel-deploy.outputs.preview-url }}