Skip to content

fix@ anzhiyu post title too long covered next element #50

fix@ anzhiyu post title too long covered next element

fix@ anzhiyu post title too long covered next element #50

Workflow file for this run

name: Hexo CI CD
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: "Using Special Node Version"
uses: actions/setup-node@v4
with:
node-version: "22.6.0"
- name: Generate Hexo site ⚗️
run: |
echo "Github Action Env Checking..."
echo "Node Version: `node -v`"
echo "Coping theme config file"
# Install dependencies && update env
echo "Install npm dependencies"
npm i
# Generate site
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
token: ${{ secrets.HEXO_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: public/ # The folder the action should deploy.
ssh-key: ${{ secrets.DEPLOY_KEY }}