Skip to content

Merge pull request #9 from Foreverskyin0216/dependabot/npm_and_yarn/v… #22

Merge pull request #9 from Foreverskyin0216/dependabot/npm_and_yarn/v…

Merge pull request #9 from Foreverskyin0216/dependabot/npm_and_yarn/v… #22

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
permissions:
contents: write # for checkout
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js 🚀
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies 📦
run: npm install
- name: Build 🏗
run: npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
commit-message: 'chore(deploy): deploy to GitHub Pages'
folder: dist