fix: list发生变化的时候也需要初始化 异步场景中可能先提供初始值再更新list #71
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🔂 Surge PR Preview | |
on: pull_request | |
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: | | |
cnpm install | |
npm run build:site | |
mv dist/default.html dist/index.html | |
dist: site/public |