Skip to content

Merge pull request #133 from v-kiniv/fix/crash-on-style-delete #104

Merge pull request #133 from v-kiniv/fix/crash-on-style-delete

Merge pull request #133 from v-kiniv/fix/crash-on-style-delete #104

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
publish:
name: GHPages
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Build Docs
run: cd ./usage && npm ci && npm run build
- name: Publish docs
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./usage/dist
user_name: 'Github Actions'
user_email: '[email protected]'
commit_message: ${{ github.event.head_commit.message }}