all: temporarily serve drafts from separate subdomain [staging]

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-03-07 22:18:38 +05:30
parent 1a45d55395
commit d62046db9e
2 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ jobs:
- name: Build Hugo Site
run: |
hugo --minify --gc -D --baseUrl 'https://staging.msfjarvis.dev/'
hugo --minify --gc -D --baseUrl 'https://drafts.msfjarvis.dev/'
- name: Publish to Cloudflare Workers Sites
run: |

View File

@ -2,8 +2,8 @@ name = "msfjarvis-dev-staging"
type = "webpack"
webpack_config = "webpack.config.js"
workers_dev = false
route = "staging.msfjarvis.dev/*"
vars = { BASE_URL = "https://staging.msfjarvis.dev/" }
route = "drafts.msfjarvis.dev/*"
vars = { BASE_URL = "https://drafts.msfjarvis.dev/" }
[site]
bucket = "./public"