Skip to content

Update index.html

Update index.html #5

Workflow file for this run

name: MainWorkflow
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 Page
run: |
npm install
npm install -g hexo-cli
hexo generate
- uses: manyuanrong/[email protected]
with:
# endpoint 可以去oss控制台上查看
endpoint: "oss-cn-hongkong.aliyuncs.com"
# 使用我们之前配置在secrets里面的accesskeys来配置ossutil
access-key-id: ${{ secrets.ACCESS_KEY_ID }}
access-key-secret: ${{ secrets.ACCESS_KEY_SECRET }}
- name: Deply To OSS
run: ossutil cp public oss://enok-blog/ -rf