Skip to content

feat: 更新文章

feat: 更新文章 #20

Workflow file for this run

name: Hexo runner
on:
push:
branches:
- source
jobs:
build:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: Install
uses: borales/[email protected]
with:
cmd: install
- name: Build
uses: borales/[email protected]
with:
cmd: build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
force_orphan: true
- name: Archive blog artifacts
uses: actions/upload-artifact@v2
with:
name: blog-site-files
path: public