feat: update quarkd #560
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: sync to github.io | |
on: | |
push: | |
branches: | |
- main # default branch | |
paths: | |
- '.github/workflows/**' | |
- '**' | |
jobs: | |
copy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# 会有很多 npm 包在外层,link 使用 | |
# - run: cd example && npm i --legacy-peer-deps && npm run build | |
- run: yarn | |
- run: yarn run link | |
- run: yarn push2io | |
- name : Sync | |
uses : JamesIves/[email protected] | |
with : | |
branch : main # action 应该部署到的分支。 | |
folder : dist # 操作应该部署的文件夹。 | |
clean: false | |
repository-name: hellof2e/quarkd-demo.github.io | |
token: ${{ secrets.GIT_ACTION }} | |
target-folder: demo # 部署到 demo 目录下 |