Skip to content

Deploy to github pages (#91) #1

Deploy to github pages (#91)

Deploy to github pages (#91) #1

Workflow file for this run

name: Deploy frontend to Github pages
on:
push:
branches: main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
- name: Install dependencies
run: cd texturefrontend && npm install
- name: Build
run: cd texturefrontend && npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./texturefrontend/build