Skip to content

bump docs to v0.2.1

bump docs to v0.2.1 #8

Workflow file for this run

name: Publish @showbridge/docs to docs site
on:
workflow_dispatch:
push:
tags:
- 'docs/**'
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: 'docs/package-lock.json'
- name: Install Node.js dependencies
run: npm ci
working-directory: ./docs
- name: build docs
run: npm run build:prod
working-directory: ./docs
- name: publish docs
uses: SamKirkland/FTP-Deploy-Action@8e83cea8672e3fbcbb9fdafff34debf6ae4c5f65 # v4.3.5
with:
server: ${{secrets.FTP_URL}}
username: ${{secrets.DOCS_FTP_USERNAME}}
password: ${{secrets.DOCS_FTP_PASSWORD}}
local-dir: ./docs/dist/
server-dir: docs/
port: 21
protocol: ftps