Skip to content

Generate typedoc, push to another branch and serve via pages #13

Generate typedoc, push to another branch and serve via pages

Generate typedoc, push to another branch and serve via pages #13

Workflow file for this run

name: Generate typedoc, push to another branch and serve via pages
on:
workflow_run:
workflows: ["testing"]
branches: [main]
types:
- completed
jobs:
build:
runs-on: ubuntu-latest
name: Build and Push
steps:
- name: git-checkout
uses: actions/checkout@v2
- name: Install all dependencies
run: npm install
- name: Docs
run: npm run docs
- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: docs
FOLDER: docs
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Build: ({sha}) {msg}"