Skip to content

Merge pull request #331 from hellof2e/xsf0105-patch-1 #558

Merge pull request #331 from hellof2e/xsf0105-patch-1

Merge pull request #331 from hellof2e/xsf0105-patch-1 #558

Workflow file for this run

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 目录下