update outdated registry mirror #228
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 docs | |
# This workflow is triggered on pushes to the repository. | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- ".github/workflows/deploy-docs.yml" | |
- "examples/**" | |
- "package.json" | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@master | |
with: | |
ref: master | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "12.x" | |
- name: Install outer env | |
run: npm install | |
- name: Install innner env | |
run: | | |
cd examples | |
npm install | |
npm install [email protected] [email protected] | |
- name: Build doc | |
run: | | |
cd examples | |
npx vue-cli-service build | |
- name: Deploy Doc 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: ./examples/dist | |
clean: false |