doc: update article ([Debug] Flutter Image.network() 在 Web 下,圖片會載入失敗) #44
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: Deploy | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "README.md" | |
jobs: | |
deploy-github-page: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup node env | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Install dependencies with Yarn | |
run: yarn --frozen-lockfile | |
- name: Run test with Jest | |
run: yarn test | |
- name: Generate Static Site | |
run: yarn generate | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@4.1.5 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: dist # The folder the action should deploy. |