Skip to content

wip: 前端面试题-基础篇 #29

wip: 前端面试题-基础篇

wip: 前端面试题-基础篇 #29

Workflow file for this run

name: Hexo Deploy
on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id
steps:
- name: Checkout source
uses: actions/checkout@v2
with:
ref: dev
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '16'
- name: Setup Hexo
run: |
npm install hexo-cli -g
npm install
- name: Build
run: |
hexo clean
hexo generate
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: master
folder: public
ssh-key: ${{ secrets.HEXO_DEPLOY_KEY }}