Skip to content

update homepage

update homepage #24

Workflow file for this run

name: Deploy Website
# documentation:
# https://docs.astro.build/en/guides/deploy/github/#using-github-pages-with-a-custom-domain
on:
push:
branches:
- main # or master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
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@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist # Adjust this if your build output folder is different