remove to use
This commit is contained in:
parent
d932bead9a
commit
21cda0eba0
1 changed files with 1 additions and 11 deletions
12
README.md
12
README.md
|
@ -5,19 +5,9 @@ Based on alpine:3.20
|
||||||
Contains nodejs, hugo, rsync
|
Contains nodejs, hugo, rsync
|
||||||
`hugo-ci:<hugo_version>-<node_version>`
|
`hugo-ci:<hugo_version>-<node_version>`
|
||||||
|
|
||||||
## To use
|
|
||||||
|
|
||||||
Run the following in your hugo directory:
|
|
||||||
|
|
||||||
docker run -v .:/home/app -ti --network=host codeberg.org/mycosys/hugo-ci:latest
|
|
||||||
|
|
||||||
To also host locally:
|
|
||||||
|
|
||||||
docker run -p 1313:1313 -v .:/home/app -ti --network=host codeberg.org/mycosys/hugo-ci:latest
|
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
Building requires docker, buildx. Nodejs is included in the ci workflow becuase of it's use in many actions scripts.
|
Building requires docker, buildx. Nodejs is included in the ci workflow becuase of it's use in many actions scripts, but it is not necessary for local building.
|
||||||
|
|
||||||
I recommend changing the option `JOBS` in the Dockerfile as the current number is optimized for a custom KVM machine that's being used as our runner.
|
I recommend changing the option `JOBS` in the Dockerfile as the current number is optimized for a custom KVM machine that's being used as our runner.
|
||||||
Our runner is given these resources:
|
Our runner is given these resources:
|
||||||
|
|
Loading…
Add table
Reference in a new issue