Skip to content

Merge branch 'main' of https://github.com/Lenna-Robotics-Research-Lab… #29

Merge branch 'main' of https://github.com/Lenna-Robotics-Research-Lab…

Merge branch 'main' of https://github.com/Lenna-Robotics-Research-Lab… #29

Workflow file for this run

name: Deploy URDF Viewer
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web_viewer
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: web_viewer/dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4