Skip to content

Update README and try to fix GitHub workflow yml #2

Update README and try to fix GitHub workflow yml

Update README and try to fix GitHub workflow yml #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Set the branch you want to deploy from
jobs:
build:
runs-on: ubuntu-latest # Standard choice for Node.js projects
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20' # Use the Node.js version you need
- name: Install dependencies
run: npm install
- name: Build project
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public