Skip to content

0.1.6

0.1.6 #21

Workflow file for this run

name: doc
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 100
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: marceloprado/has-changed-path@v1
id: changed-d-ts
with:
paths: package.json index.d.ts
- name: Build docs
if: steps.changed-d-ts.outputs.changed == 'true'
run: yarn && yarn build:docs
- name: Deploy to GitHub Pages
if: steps.changed-d-ts.outputs.changed == 'true'
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs
single-commit: true