Skip to content

Revert "docs: import & upload annotation" #42

Revert "docs: import & upload annotation"

Revert "docs: import & upload annotation" #42

Workflow file for this run

name: 🔂 Surge PR Preview
on: [pull_request]
jobs:
preview:
runs-on: ubuntu-latest
permissions:
pull-requests: write # allow surge-preview to create/update PR comments
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Action
uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- uses: afc163/surge-preview@v1
id: preview_step
with:
surge_token: ${{ secrets.SURGE_TOKEN }}
dist: .vitepress/dist
build: |
pnpm install
pnpm build
- name: Get the preview_url
run: echo "url => ${{ steps.preview_step.outputs.preview_url }}"