Skip to content

Commit ebb0c1f

Browse files
committed
Provide staging baseURL via build property
1 parent 3a2a275 commit ebb0c1f

File tree

5 files changed

+2
-7
lines changed

5 files changed

+2
-7
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Build production
3535
run: hugo --minify --destination public/prod
3636
- name: Build staging
37-
run: hugo --environment=staging --minify --destination public/staging
37+
run: hugo --baseURL=https://staging.cryptomator.org/ --environment=staging --minify --destination public/staging
3838
- name: Upload Prod Pages artifact
3939
uses: actions/upload-pages-artifact@v3
4040
with:

config/_default/hugo.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
baseURL: https://cryptomator.org/
12
title: Cryptomator
23
defaultContentLanguage: en
34

config/development/params.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
baseURL: https://cryptomator.org/
2-
31
# API
42
baseApiUrl: http://localhost
53
storeApiUrl: http://localhost:8787/api

config/production/params.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
baseURL: https://cryptomator.org/
2-
31
# API
42
baseApiUrl: http://api.cryptomator.org
53
storeApiUrl: https://store.cryptomator.org/api

config/staging/params.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
baseURL: https://staging.cryptomator.org/
2-
31
# API
42
baseApiUrl: http://api.staging.cryptomator.cloud
53
storeApiUrl: https://store.staging.cryptomator.org/

0 commit comments

Comments
 (0)