Skip to content

Bump ejs and hexo-renderer-ejs #86

Bump ejs and hexo-renderer-ejs

Bump ejs and hexo-renderer-ejs #86

Workflow file for this run

name: publish
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Build blog
run: |
npm install
npm install -g hexo-cli
npm run build-with-html-prefix
- uses: manyuanrong/setup-ossutil@v2.0
with:
endpoint: "oss-cn-hongkong.aliyuncs.com"
access-key-id: ${{secrets.ACCESS_KEY_ID}}
access-key-secret: ${{secrets.ACCESS_KEY_SECRET}}
- name: Deploy To OSS
run: ossutil cp -rf public oss://lingzi-hexo-blog/