Skip to content

🐛 fix(sanitize): keep in-page anchors from opening new tab #91

🐛 fix(sanitize): keep in-page anchors from opening new tab

🐛 fix(sanitize): keep in-page anchors from opening new tab #91

Workflow file for this run

name: Deploy Frontend
on:
push:
branches: [main]
concurrency:
group: deploy-${{ github.ref_name }}
cancel-in-progress: true
jobs:
deploy:
name: Build & Deploy to Cloudflare Workers
runs-on: ubuntu-latest
permissions:
contents: read
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
steps:
- uses: actions/checkout@v5
- run: npm install -g pnpm@11.4.0
- uses: actions/setup-node@v5
with:
node-version: 22
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- name: Check secrets
run: |
echo "Token length: ${#CLOUDFLARE_API_TOKEN}"
echo "Account ID: ${CLOUDFLARE_ACCOUNT_ID:0:4}..."
- name: Deploy to Cloudflare Workers
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: |
npm install -g wrangler@4
wrangler deploy