Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

add petals network mode (#80) #84

add petals network mode (#80)

add petals network mode (#80) #84

Workflow file for this run

name: Github Pages for Website
on:
workflow_dispatch:
push:
branches: [main]
jobs:
website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install --frozen-lockfile
- name: Generate OpenAPI docs
run: yarn docusaurus gen-api-docs all
- run: yarn build
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}