Skip to content

Merge pull request #748 from interlay/dependabot/npm_and_yarn/typescr… #416

Merge pull request #748 from interlay/dependabot/npm_and_yarn/typescr…

Merge pull request #748 from interlay/dependabot/npm_and_yarn/typescr… #416

Workflow file for this run

name: Generate js docs
on: push
jobs:
publish:
runs-on: [self-hosted, linux]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: yarn install --frozen-lockfile
- run: npm run build
- run: sh generate_docs
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/master'
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}