Skip to content

Commit

Permalink
try setting the right environment on build
Browse files Browse the repository at this point in the history
  • Loading branch information
inviscid committed May 22, 2024
1 parent cb49599 commit d13a02a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh_pages_beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh_pages_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/gh_pages_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d13a02a

Please sign in to comment.