mirror of
https://github.com/danbee/danbarber.me.hugo.git
synced 2025-03-04 08:59:18 +00:00
Compare commits
No commits in common. "722cfb33484949551a3820a0d0b4400960ea38f4" and "0a609da79e92dab23845b65ef0f880c0d5e70511" have entirely different histories.
722cfb3348
...
0a609da79e
@ -1,4 +0,0 @@
|
|||||||
.git
|
|
||||||
.sass-cache
|
|
||||||
public
|
|
||||||
resources
|
|
||||||
@ -2,5 +2,3 @@ FROM alpine:3.19.1
|
|||||||
RUN apk add --no-cache bash hugo=0.120.4-r3
|
RUN apk add --no-cache bash hugo=0.120.4-r3
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
CMD ["hugo", "server", "--disableLiveReload", "--bind=0.0.0.0", "--port=3000", "--baseURL=https://danbarber.me", "--appendPort=false"]
|
|
||||||
|
|||||||
2
Procfile
Normal file
2
Procfile
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
release: hugo -v
|
||||||
|
web: hugo server --disableLiveReload --bind '0.0.0.0' --port ${PORT} --baseURL 'https://danbarber.me' --appendPort=false
|
||||||
30
netlify.toml
Normal file
30
netlify.toml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
[build]
|
||||||
|
publish = "public"
|
||||||
|
command = "hugo --gc --minify -b $URL"
|
||||||
|
|
||||||
|
[context.production.environment]
|
||||||
|
HUGO_VERSION = "0.80.0"
|
||||||
|
HUGO_ENV = "production"
|
||||||
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
|
[context.split1]
|
||||||
|
command = "hugo --gc --minify --enableGitInfo"
|
||||||
|
|
||||||
|
[context.split1.environment]
|
||||||
|
HUGO_VERSION = "0.80.0"
|
||||||
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
|
[context.deploy-preview]
|
||||||
|
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[context.deploy-preview.environment]
|
||||||
|
HUGO_VERSION = "0.80.0"
|
||||||
|
|
||||||
|
[context.branch-deploy]
|
||||||
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[context.branch-deploy.environment]
|
||||||
|
HUGO_VERSION = "0.80.0"
|
||||||
|
|
||||||
|
[context.next.environment]
|
||||||
|
HUGO_ENABLEGITINFO = "true"
|
||||||
Loading…
Reference in New Issue
Block a user