Skip to content

perf: use GitHub Action to build the document #2

perf: use GitHub Action to build the document

perf: use GitHub Action to build the document #2

Workflow file for this run

name: Build badges
on:
push:
branches:
- main
concurrency: building
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/setup-node@v2-beta
with:
node-version: '13'
- name: Build
run: |
npm version
npm install --no-save --no-audit
npm link
badge -v
npm run build
env:
ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
single-commit: true
branch: docs
folder: .