Skip to content

Merge pull request #14 from zaicodev/DEV-6191-inventory-group-items-api #38

Merge pull request #14 from zaicodev/DEV-6191-inventory-group-items-api

Merge pull request #14 from zaicodev/DEV-6191-inventory-group-items-api #38

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- master
pull_request:
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install npm packages
run: yarn install
- name: Build Document
run: yarn build
- uses: actions/upload-artifact@v2
if: success()
with:
name: API Document
path: dist
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist