Skip to content

adding base folder path in vite conf #19

adding base folder path in vite conf

adding base folder path in vite conf #19

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: |
cd SwiftLinkClient
npm install
- name: Build
run: |
cd SwiftLinkClient
npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: SwiftLinkClient/dist