Skip to content

DEV-5808 単位自動換算対応 #25

DEV-5808 単位自動換算対応

DEV-5808 単位自動換算対応 #25

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