Add docs from pypose/pypose #1481
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-page-with-doc | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-jekyll: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout pypose/pypose.github.io | |
- uses: ruby/setup-ruby@v1 | |
name: Setup Ruby | |
with: | |
# Automatically versioned with .ruby-version | |
bundler-cache: true | |
- uses: actions/setup-node@v3 | |
name: Setup Node | |
with: | |
node-version: 9.8.0 | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile --immutable # per suggestion of actions/setup-node | |
name: Setup Yarn | |
- run: make build_deploy | |
name: Build Jekyll site | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
token: ${{ secrets.BOT_GH_PAT }} | |
branch: gh-pages | |
folder: _site |