Skip to content

added latestversion.txt in public for compatibility - fixed some brok… #3

added latestversion.txt in public for compatibility - fixed some brok…

added latestversion.txt in public for compatibility - fixed some brok… #3

Workflow file for this run

name: Deploy Website
on:
push:
branches:
- main # or master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18' # specify Node.js version
- name: Install dependencies
run: |
npm install
npm run build # this assumes you have a build script in package.json
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist # Adjust this if your build output folder is different