Skip to content

chore: release

chore: release #398

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
paths:
- "packages/**"
- "typedoc.json"
workflow_dispatch:
jobs:
docs:
name: Deploy Docs
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install PNPM
uses: pnpm/action-setup@6e1964dde3397a825e79e4607ad57f3f7ca2c7cb
with:
version: 8.6.3
- name: Install Node v14
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "pnpm"
- name: Install dependencies
run: pnpm install -r
- name: Build project
run: pnpm run build
- name: Build the docs
run: pnpm run docs
- name: Commit the Docs
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: "docs"
destination-github-username: "github-actions[bot]"
destination-repository-username: "guildedjs"
destination-repository-name: "guildedjs.github.io"
target-branch: "main"
user-email: 41898282+github-actions[bot]@users.noreply.github.com