chore: v0.0.1-alpha.16 #82
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: build | |
on: | |
push: | |
branches: | |
- vue3 | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14.16.1' | |
- name: Install dependencies | |
run: yarn | |
- name: build | |
run: yarn build | |
- name: Build docs | |
run: yarn docs:build | |
- name: Build example | |
run: yarn build:example | |
- name: Move example | |
run: mv example docs/.vitepress/dist | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: docs/.vitepress/dist | |
GIT_CONFIG_NAME: MandMobileBot | |
COMMIT_MESSAGE: website deploy |