Skip to content

Commit

Permalink
struct refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
brunotot committed Sep 1, 2023
1 parent 1740e15 commit 218b85c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Publish Docs

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Install Dependencies
run: npm i --silent

- name: Build Docs
run: npm run build-docs

- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"build": "tsc --build",
"docs": "typedoc",
"generate-docs": "rm -rf docs dist && npm run build --silent && npm run docs --silent",
"build-docs": "rm -rf docs dist && npm run build --silent && npm run docs --silent",
"core/main": "test -d ./node_modules || npm i --force && ts-node packages/core/src/main.ts",
"core/test": "npm run test --prefix=packages/core",
"core/build": "npm run build --prefix=packages/core",
Expand Down

0 comments on commit 218b85c

Please sign in to comment.