Skip to content

chore: standardize repository config #1

chore: standardize repository config

chore: standardize repository config #1

Workflow file for this run

name: Surge Preview
on:
pull_request:
branches: [master]
permissions:
contents: read
pull-requests: write
statuses: write
concurrency:
group: surge-preview-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false
- uses: afc163/surge-preview@bf90a5a86111f6311ca42f0a5a0f80fb0fb03cec
with:
build: npm run build
dist: docs-dist
failOnMissingToken: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}