This commit is contained in:
parent
7c6db58056
commit
a96ad8cf52
1 changed files with 3 additions and 0 deletions
|
|
@ -14,9 +14,12 @@ jobs:
|
|||
chmod 777 site
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir -p "$PWD/.hugo-cache"
|
||||
docker run --rm \
|
||||
-u "$(id -u):$(id -g)" \
|
||||
-v "$PWD/site:/src" \
|
||||
-v "$PWD/.hugo-cache:/cache" \
|
||||
-e GOPATH=/cache \
|
||||
-w /src \
|
||||
ghcr.io/gohugoio/hugo:latest \
|
||||
--minify --destination "public" --baseURL "/"
|
||||
|
|
|
|||
Loading…
Reference in a new issue