Skip to content

chore(release): v1.6.2 #28

chore(release): v1.6.2

chore(release): v1.6.2 #28

Workflow file for this run

# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: CC-BY-4.0
name: Deploy Docs (Github Pages)
on:
push:
branches:
- main
paths:
- 'docs/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/[email protected]
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: NPM INSTALL
run: npm install
working-directory: docs
- name: Build
run: npm run build
working-directory: docs
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/build # The folder the action should deploy.