Skip to content

v1.0.4 - Fix AWS SDK peer deps #13

v1.0.4 - Fix AWS SDK peer deps

v1.0.4 - Fix AWS SDK peer deps #13

Workflow file for this run

name: Publish Docs
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v3
with:
path: |
node_modules
!node_modules/.cache
key: node-modules-${{ hashFiles('package.json', 'package-lock.json') }}
- name: Install Modules
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci
- name: Build Docs
run: npm run build:docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs