mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-14 13:31:03 +00:00
1e7b32490d
This allows for building GoToSocial with [SQLite transpiled to WASM](https://github.com/ncruces/go-sqlite3) and accessed through [Wazero](https://wazero.io/).
15 lines
400 B
TOML
15 lines
400 B
TOML
[build]
|
|
base = "site"
|
|
publish = "public"
|
|
|
|
[build.environment]
|
|
HUGO_VERSION = "0.115.2"
|
|
|
|
[context.production]
|
|
command = "git submodule update --init && hugo --gc --minify"
|
|
|
|
[context.deploy-preview]
|
|
command = "git submodule update --init && hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
|
|
|
[context.branch-deploy]
|
|
command = "git submodule update --init && hugo --gc --minify -b $DEPLOY_PRIME_URL"
|