|
|
@ -5,8 +5,8 @@ name: hugo-build |
|
|
steps: |
|
|
steps: |
|
|
- name: build |
|
|
- name: build |
|
|
image: ghcr.io/gohugoio/hugo:v0.160.0 |
|
|
image: ghcr.io/gohugoio/hugo:v0.160.0 |
|
|
|
|
|
user: root |
|
|
commands: |
|
|
commands: |
|
|
- rm -f .hugo_build.lock |
|
|
|
|
|
- hugo --minify --baseURL https://www.eryang.wang/ --noBuildLock |
|
|
- hugo --minify --baseURL https://www.eryang.wang/ --noBuildLock |
|
|
|
|
|
|
|
|
- name: deploy |
|
|
- name: deploy |
|
|
|