Skip to content

更新数据至7.1.405版本 #119

更新数据至7.1.405版本

更新数据至7.1.405版本 #119

Workflow file for this run

name: Build and Deploy
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "14"
- name: Cache Node Modules
id: node-cache
uses: actions/cache@v2
with:
path: vue/node_modules
key: node-modules-${{ hashFiles('vue/yarn.lock') }}
- name: Install Dependencies
if: steps.node-cache.outputs.cache-hit != 'true'
run: |
cd vue
yarn
- name: Build
run: |
cd vue
yarn build
cp ../README.md dist/
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.2.2
with:
branch: gh-pages # The branch the action should deploy to.
folder: vue/dist # The folder the action should deploy.