Skip to content

site updated #25

site updated

site updated #25

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Set this to your default branch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20' # Set this to the Node.js version you are using
- name: Install dependencies
run: yarn install
- name: Build
run: yarn run build
- name: Copy CNAME to build directory
run: cp CNAME ./dist/CNAME # Ensure CNAME is copied to the correct directory for deployment
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ORG_TOKEN }}
publish_dir: ./dist # Set this to the output directory of your Vite build