Skip to content

feat: add .npmrc

feat: add .npmrc #17

Workflow file for this run

name: release docs CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: 步骤:第一步 -> Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: 步骤:第二步 -> 安装依赖
run: |
npm install
npm run build
env:
CI: true
- name: 步骤:第三步 -> 使用脚本部署
env:
ACCESS_TOKEN_DEPLOY: ${{secrets.ACCESS_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./docs/.vuepress/dist
CNAME: editable.veaba.me
uses: veaba/[email protected]