Skip to content

💥 hugo

💥 hugo #248

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 1
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.140.1'
extended: true
- name: Build
run: hugo --minify
- name: Login
uses: manyuanrong/[email protected]
with:
endpoint: ${{ secrets.ENDPOINT }}
access-key-id: ${{ secrets.OSS_KEY_ID }}
access-key-secret: ${{ secrets.OSS_KEY_SECRET }}
- name: Deploy
run: ossutil cp -rf public oss://blog-jalen/