Update dependency hexo to v7.2.0 #450
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy blog | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize, edited, reopened] | |
jobs: | |
deploy-blog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install Hexo | |
run: | | |
npm i -g hexo hexo-cli | |
- name: Build blog | |
run: | | |
npm install --force --save | |
hexo cl && hexo g | |
deploy-blog_use-yarn: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install Hexo | |
run: | | |
yarn global add hexo hexo-cli | |
- name: Build blog | |
run: | | |
yarn install | |
hexo cl && hexo g |