You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
518 B
20 lines
518 B
name: 🔂 Surge PR Preview
|
|
|
|
on: pull_request_target
|
|
|
|
jobs:
|
|
preview:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
|
- uses: afc163/surge-preview@v1
|
|
with:
|
|
surge_token: ${{ secrets.SURGE_TOKEN }}
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
build: |
|
|
npm install
|
|
npm install umi-plugin-pro --save
|
|
npm run build
|
|
dist: dist
|
|
|