forked from hlxsites/prisma-cloud-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
42 lines (36 loc) · 1.21 KB
/
wrangler.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name = "prisma-cloud-docs"
main = "worker/dist/index.mjs"
account_id = "852dfa4ae1b0d579df29be65b986c101"
workers_dev = true
compatibility_date = "2022-06-13"
compatibility_flags = []
[build]
command = "node ./build.js"
cwd = "worker"
# watch_dir = "worker/src"
[vars]
CONTENT_UPSTREAM='https://main--prisma-cloud-docs-website--hlxsites.hlx.page'
# temp using PAN repo as adoc source
DOC_UPSTREAM='https://raw.githubusercontent.com'
DOC_REPO_OWNER='hlxsites'
DOC_REPO_NAME='prisma-cloud-docs'
DOC_REPO_REF='main'
DOC_REPO_ROOT_PATH=''
BASE_PATH=''
PREVIEW_UPSTREAM='https://raw.githubusercontent.com'
PREVIEW_REPO_OWNER='hlxsites'
PREVIEW_REPO_NAME='prisma-cloud-docs'
[env.production.vars]
CONTENT_UPSTREAM='https://main--prisma-cloud-docs-website--hlxsites.hlx.live'
# temp using PAN repo as adoc source
DOC_UPSTREAM='https://raw.githubusercontent.com'
DOC_REPO_OWNER='hlxsites'
DOC_REPO_NAME='prisma-cloud-docs'
DOC_REPO_REF='main'
DOC_REPO_ROOT_PATH=''
BASE_PATH=''
PREVIEW_UPSTREAM='https://raw.githubusercontent.com'
PREVIEW_REPO_OWNER='hlxsites'
PREVIEW_REPO_NAME='prisma-cloud-docs'
# The necessary secrets are:
# - GITHUB_PAT -> github personal access token with read permission to hlxsites/prisma-cloud-docs, used for preview