mirror of
https://github.com/matrix-org/matrix.org.git
synced 2026-01-11 20:07:22 +00:00
Make prod builds work
This commit is contained in:
parent
3e5b769311
commit
3ed8fbb6d4
1 changed files with 1 additions and 2 deletions
3
build.sh
3
build.sh
|
|
@ -2,8 +2,7 @@
|
|||
|
||||
if [ "$CF_PAGES_BRANCH" == "main" ]; then
|
||||
# build production using base_url from the site config.toml
|
||||
#zola build
|
||||
zola build --base-url $CF_PAGES_URL
|
||||
zola build
|
||||
elif [ "$CF_PAGES_BRANCH" == "staging" ]; then
|
||||
# build staging using CF_STAGING_URL env
|
||||
zola build --base-url $CF_STAGING_URL
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue