Skip to content

chore(release):

chore(release): #153

Workflow file for this run

name: Docs
on:
push:
branches: [main]
workflow_dispatch: # can be manually triggered
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v2
-
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
-
name: Install Deps
run: npm ci
-
name: Build
run: npm run build
-
name: Generate docs
run: npm run docs
-
uses: jakejarvis/[email protected]
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-1'
SOURCE_DIR: 'docs'