docs: set env vars for deployment
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
1b5db73785
commit
30b7bc89ec
7
.dagger/env/docs/plan/main.cue
vendored
7
.dagger/env/docs/plan/main.cue
vendored
@ -14,6 +14,13 @@ docs: yarn.#Package & {
|
||||
source: repository
|
||||
cwd: "website/"
|
||||
buildDir: "website/build"
|
||||
env: {
|
||||
OAUTH_ENABLE: "true"
|
||||
REACT_APP_OAUTH_SCOPE: "read:user"
|
||||
REACT_APP_GITHUB_AUTHORIZE_URI: "https://github.com/login/oauth/authorize?client_id=${REACT_APP_CLIENT_ID}&scope=${REACT_APP_OAUTH_SCOPE}&allow_signup=false"
|
||||
REACT_APP_DAGGER_SITE_URI: "https://dagger.io"
|
||||
REACT_APP_API_PROXY_ENABLE: "true"
|
||||
}
|
||||
}
|
||||
|
||||
// Deploy the docs website
|
||||
|
6
.dagger/env/docs/values.yaml
vendored
6
.dagger/env/docs/values.yaml
vendored
@ -1,3 +1,5 @@
|
||||
plan:
|
||||
module: .dagger/env/docs/plan
|
||||
name: docs
|
||||
inputs:
|
||||
docs.env.REACT_APP_CLIENT_ID:
|
||||
@ -30,8 +32,8 @@ sops:
|
||||
ejRKQXNFZzBTbUxpc05acnkxQ2U2UkEKX1byNj64xOiRGAJ9lwh55d/mlasI3H6H
|
||||
b+o3HbXSbV0G0UwQxEOisntR6o27ry/l12ai/sOQ4f9MXm6FRw2XTg==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
lastmodified: "2021-06-15T07:57:28Z"
|
||||
mac: ENC[AES256_GCM,data:PPeh8uZ4i8kRqgoDMLBlHMy3jFs0jQxJKdkeA3LTqbBKZ9EEEt9K4ASmZVbTUv5iumcoxaXc2u6ty0gDPaLjqnYPLMOzR962+5ipp96l1fzA7vvNpdNlUPweTo6WgQUBf/J4eOPBlm3O2pPi7Os+IlvnvM92ZL6Y9K3oOZqlnwU=,iv:Mz8jz3lBOEVqlqKEaqa5ujecr4B/IIaeW34Kx3cEwwE=,tag:feixK5kYE61WeEzJcXjRoA==,type:str]
|
||||
lastmodified: "2021-06-18T14:46:35Z"
|
||||
mac: ENC[AES256_GCM,data:RX4rZSP2sMqSGfbSkpK1rAqLcpYHv99jUvhGpQvM9Sjxki4LskxQP51BuZj7eVD0u0uqBMObatyZvofTybld6tlrgQeddIS4SINRJNsC+P7dzaiOEePZX/oCCMIQCnO8+OLO7z6DNdy1IMxhuCZWeGHDJt1ritLds3ACAjtFrGo=,iv:AI8tdLTFnFV919ypY0RKVaDNfwEN6b5hZuH4DvlhdAk=,tag:izIPuozRiYpQ50hi4yLyCw==,type:str]
|
||||
pgp: []
|
||||
encrypted_suffix: secret
|
||||
version: 3.7.1
|
||||
|
Reference in New Issue
Block a user