Skip to content

Merge pull request #225 from pfeairheller/feat-multisig-rev #4

Merge pull request #225 from pfeairheller/feat-multisig-rev

Merge pull request #225 from pfeairheller/feat-multisig-rev #4

name: Publish Documentation
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
update:
name: Updater documentation
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18.12.1'
cache: 'npm'
- name: build
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git checkout docs
npm cache clean --force
npm set registry https://registry.npmjs.org/
npm i
npx typedoc src/index.ts
git add .
git commit -a -m "Update documentation"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}