docs: migration website to quark-ecosystem #126
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 vue docs | |
on: | |
push: | |
branches: | |
- main # default branch | |
paths: | |
- '.github/workflows/**' | |
- 'packages/quarkd/src/**' | |
jobs: | |
copy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: yarn install | |
- run: yarn copydocs2vue | |
- name : Sync | |
uses : JamesIves/github-pages-deploy-action@4.1.7 | |
with : | |
branch : main # action 应该部署到的分支 。 | |
folder : site_docs # 操作应该部署的文件夹 。 | |
clean: false | |
repository-name: hellof2e/quarkd-docs-vue | |
token: ${{ secrets.GIT_ACTION }} | |
target-folder: src/docs_vue |