Skip to content

perf(database): Enable exclusive WAL mode for DB (#358) #11

perf(database): Enable exclusive WAL mode for DB (#358)

perf(database): Enable exclusive WAL mode for DB (#358) #11

Workflow file for this run

name: docs
on:
push:
branches:
- unstable
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-upload-to-s3:
if: github.repository_owner == 'sigp'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: docs/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: docs
- name: Install Playwright browsers
run: npx playwright install
working-directory: docs
- name: Sync version and GitHub stars
run: npm run sync-version
working-directory: docs
- name: Build vocs
run: npm run build
working-directory: docs
- uses: jakejarvis/s3-sync-action@be0c4ab89158cac4278689ebedd8407dd5f35a83
with:
args: --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BOOK_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'ap-southeast-2'
SOURCE_DIR: 'docs/docs/dist'