mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-02-07 09:19:00 +00:00
Update netlify.toml
This commit is contained in:
parent
54f120b962
commit
ca2650eb37
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixpkgs-unstable
|
||||
- run: nix develop -c make build
|
||||
- run: nix develop
|
||||
- name: Deploy to Netlify
|
||||
uses: nwtgck/actions-netlify@v1.2
|
||||
with:
|
||||
|
13
netlify.toml
13
netlify.toml
@ -1,8 +1,15 @@
|
||||
[build]
|
||||
publish = "public/"
|
||||
command = "make build"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_BASE_URL = "$DEPLOY_URL"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo --baseURL $DEPLOY_PRIME_URL"
|
||||
[context.branch-deploy.environment]
|
||||
HUGO_BASE_URL = "$DEPLOY_PRIME_URL"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo --buildDrafts --buildFuture --buildExpired --baseURL $DEPLOY_PRIME_URL"
|
||||
command = "hugo --buildDrafts --buildFuture --buildExpired"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_BASE_URL = "$DEPLOY_PRIME_URL"
|
||||
|
Loading…
Reference in New Issue
Block a user