Skip to content

Merge pull request #14 from viamrobotics/common-configs #17

Merge pull request #14 from viamrobotics/common-configs

Merge pull request #14 from viamrobotics/common-configs #17

Workflow file for this run

name: Main
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Node
uses: viamrobotics/js-config/.github/actions/setup@618c7955f0a8261bb3cc783f2b26fcc2c9bffa3d
with:
node-version: 20
- name: Build 🔧
run: |
pnpm run build-site
pnpm run build
- name: Deploy Site 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: site
clean: true
clean-exclude: |
.nojekyll
- name: Publish 🚀
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
with:
token: ${{ secrets.NPM_TOKEN }}