From d13a02a2d92aa64c7d6259af3f6e6efe7b2dbad3 Mon Sep 17 00:00:00 2001 From: inviscid Date: Wed, 22 May 2024 14:15:52 -0500 Subject: [PATCH] try setting the right environment on build --- .github/workflows/gh_pages_beta.yaml | 2 +- .github/workflows/gh_pages_dev.yaml | 2 +- .github/workflows/gh_pages_main.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gh_pages_beta.yaml b/.github/workflows/gh_pages_beta.yaml index cfbdfcc..53351a6 100644 --- a/.github/workflows/gh_pages_beta.yaml +++ b/.github/workflows/gh_pages_beta.yaml @@ -51,7 +51,7 @@ jobs: run: 'gcloud info' - name: Build - run: hugo --minify --environment production + run: hugo --minify --environment beta - name: Deploy run: hugo deploy --target="hugo-gcs-beta" --invalidateCDN --maxDeletes -1 diff --git a/.github/workflows/gh_pages_dev.yaml b/.github/workflows/gh_pages_dev.yaml index a678737..d65d193 100644 --- a/.github/workflows/gh_pages_dev.yaml +++ b/.github/workflows/gh_pages_dev.yaml @@ -51,6 +51,6 @@ jobs: run: 'gcloud info' - name: Build - run: hugo --minify --environment production + run: hugo --minify --environment dev # If this were a main, beta, or production branch we'd deploy here diff --git a/.github/workflows/gh_pages_main.yaml b/.github/workflows/gh_pages_main.yaml index 53b3c6d..9319304 100644 --- a/.github/workflows/gh_pages_main.yaml +++ b/.github/workflows/gh_pages_main.yaml @@ -51,7 +51,7 @@ jobs: run: 'gcloud info' - name: Build - run: hugo --minify --environment production + run: hugo --minify --environment dev - name: Deploy run: hugo deploy --target="hugo-gcs-io" --invalidateCDN --maxDeletes -1