Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

fix: update eslint config #43

fix: update eslint config

fix: update eslint config #43

Workflow file for this run

name: Build
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2.4.0
- name: Install node
uses: actions/setup-node@v3
with:
cache: pnpm
- name: Install
run: pnpm install
- name: Run Build
run: pnpm run build
- name: echo cname
run: echo 'resume.elonehoo.xyz' > dist/CNAME
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}