Skip to content

chore: housekeeping #66

chore: housekeeping

chore: housekeeping #66

Workflow file for this run

name: Sukka Friends
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
- run: pnpm i
- run: pnpm run build
- run: cp -r src/img dist/img
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.ACCESS_TOKEN }}
publish_branch: gh-pages
publish_dir: ./dist
user_name: ${{ secrets.GIT_USERNAME }}
user_email: ${{ secrets.GIT_EMAIL }}
cname: friends.skk.moe