From b785c70ddededece809fd34d46a8241d55161787 Mon Sep 17 00:00:00 2001 From: azure Date: Wed, 16 Apr 2025 08:16:25 -0400 Subject: [PATCH 1/2] [no ci] docs(readme): add `PUB_VERTD_URL` to environment variable list --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cad49ee..9572037 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ Before building for production, make sure you create a `.env` file in the root o PUB_HOSTNAME=example.com # change to your domain, only gets used for Plausible (for now) PUB_PLAUSIBLE_URL=https://plausible.example.com # can be empty if not using Plausible PUB_ENV=production # "production", "development" or "nightly" +PUB_VERTD_URL=https://vertd.vert.sh # default vertd instance ``` To build the project for production, run `bun run build` @@ -62,7 +63,8 @@ Clone the repository, then build a Docker image with: $ docker build -t vert-sh/vert \ --build-arg PUB_ENV=production \ --build-arg PUB_HOSTNAME=vert.sh \ - --build-arg PUB_PLAUSIBLE_URL=https://plausible.example.com . + --build-arg PUB_PLAUSIBLE_URL=https://plausible.example.com \ + --build-arg PUB_VERTD_URL=https://vertd.vert.sh . ``` You can then run it by using: From 9cd222f5155a559ef420b2d6a0f1cddd3f84567b Mon Sep 17 00:00:00 2001 From: azure Date: Wed, 16 Apr 2025 08:44:04 -0400 Subject: [PATCH 2/2] ci(docker): set `PUB_VERTD_URL` to public vertd instance --- .github/workflows/docker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9cda019..1f69b81 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -53,4 +53,5 @@ jobs: build-args: | PUB_ENV=production PUB_HOSTNAME=${{ vars.PUB_HOSTNAME || '' }} - PUB_PLAUSIBLE_URL=${{ vars.PUB_PLAUSIBLE_URL || '' }} \ No newline at end of file + PUB_PLAUSIBLE_URL=${{ vars.PUB_PLAUSIBLE_URL || '' }} + PUB_VERTD_URL=https://vertd.vert.sh