Skip to content

Clearer

Clearer #87

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Adjust if your default branch is different
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'
- name: Enable Corepack
run: corepack enable
- name: Prepare Yarn
run: corepack prepare [email protected] --activate
- name: Configure git to use HTTPS instead of SSH
run: git config --global url."https://".insteadOf ssh://
- name: Install dependencies
run: yarn install
- name: Build project
run: yarn build # Adjust if your build command is different
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist