Skip to content

Docs

Docs #103

Workflow file for this run

name: Docs
on:
release:
types: [created]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '21.2.0'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build docs
run: yarn build-docz
env:
DOCZ_URL: https://docz.phorkit.org
- name: Deploy docs
uses: burnett01/[email protected]
with:
switches: -avz --delete
path: build/docz
remote_path: ./phorkit/
remote_host: phork.org
remote_user: ${{ secrets.DEPLOY_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}