Browse Source
* 📝 docs: support preview
* change dist dir
* add umi-plugin-pro install
* Update .github/workflows/preview.yml
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
pull/7207/head
committed by
GitHub
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||
name: 🔂 Surge PR Preview |
|||
|
|||
on: [push] |
|||
|
|||
jobs: |
|||
preview: |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- uses: actions/checkout@v2 |
|||
- 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 |
|||
Loading…
Reference in new issue