Skip to content

Commit

Permalink
Merge pull request #7 from Capster/github-actions
Browse files Browse the repository at this point in the history
Setup a documentation generator action
  • Loading branch information
Capster authored Oct 7, 2023
2 parents 4aa80ad + 087e5db commit 6776655
Show file tree
Hide file tree
Showing 245 changed files with 34 additions and 145,885 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Documentation Generation
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2

- name: Retrieve the cached "node_modules" directory (if present)
uses: actions/cache@v2
id: node-cache
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}

- name: Install dependencies (if the cached directory was not found)
if: steps.node-cache.outputs.cache-hit != 'true'
run: npm ci

- name: Create the docs directory locally in CI
run: npx typedoc

- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs
1 change: 0 additions & 1 deletion docs/.nojekyll

This file was deleted.

92 changes: 0 additions & 92 deletions docs/assets/highlight.css

This file was deleted.

59 changes: 0 additions & 59 deletions docs/assets/main.js

This file was deleted.

159 changes: 0 additions & 159 deletions docs/assets/my-theme.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/assets/navigation.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/assets/search.js

This file was deleted.

Loading

0 comments on commit 6776655

Please sign in to comment.