File tree Expand file tree Collapse file tree 2 files changed +22
-14
lines changed
Expand file tree Collapse file tree 2 files changed +22
-14
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,9 @@ if (import.meta.url === `file://${process.argv[1]}`) {
9797 const port = 3500 ;
9898
9999 // needed to compile SPA. Call it here or from a build script e.g. in Docker build time to reduce downtime
100- await admin . bundleNow ( { hotReload : process . env . NODE_ENV === 'development' } ) ;
101- console . log ( 'Bundling AdminForth done. For faster serving consider calling bundleNow() from a build script.' ) ;
100+ admin . bundleNow ( { hotReload : process . env . NODE_ENV === 'development' } ) . then ( ( ) => {
101+ console . log ( 'Bundling AdminForth done. For faster serving consider calling bundleNow() from a build script.' ) ;
102+ } )
102103
103104
104105 // serve after you added all api
Original file line number Diff line number Diff line change 1515 from_secret : VAULT_TOKEN
1616 commands :
1717 - infisical export --domain https://vault.devforth.io/api --format=dotenv-export --env="prod" > /woodpecker/deploy.vault.env
18- secrets :
19- - VAULT_TOKEN
2018
2119 release :
2220 image : node:20
@@ -49,13 +47,22 @@ steps:
4947 - /var/run/docker.sock:/var/run/docker.sock
5048 commands :
5149 - cd live-demo/deploy && /bin/sh build.sh
52- secrets :
53- - VAULT_MAIN_CA_PEM_KEY
54- - VAULT_MAIN_KEY_PEM_KEY
55- - VAULT_MAIN_CERT_PEM_KEY
56- - VAULT_AF_SECRET
57- - VAULT_HARBOR_KEY
58- - VAULT_OPENAI_API_KEY
59- - VAULT_AWS_ACCESS_KEY_ID
60- - VAULT_AWS_SECRET_ACCESS_KEY
61- - VAULT_ADMIN_PASSWORD
50+ environment :
51+ VAULT_MAIN_CA_PEM_KEY :
52+ from_secret : VAULT_MAIN_CA_PEM_KEY
53+ VAULT_MAIN_KEY_PEM_KEY :
54+ from_secret : VAULT_MAIN_KEY_PEM_KEY
55+ VAULT_MAIN_CERT_PEM_KEY :
56+ from_secret : VAULT_MAIN_CERT_PEM_KEY
57+ VAULT_AF_SECRET :
58+ from_secret : VAULT_AF_SECRET
59+ VAULT_HARBOR_KEY :
60+ from_secret : VAULT_HARBOR_KEY
61+ VAULT_OPENAI_API_KEY :
62+ from_secret : VAULT_OPENAI_API_KEY
63+ VAULT_AWS_ACCESS_KEY_ID :
64+ from_secret : VAULT_AWS_ACCESS_KEY_ID
65+ VAULT_AWS_SECRET_ACCESS_KEY :
66+ from_secret : VAULT_AWS_SECRET_ACCESS_KEY
67+ VAULT_ADMIN_PASSWORD :
68+ from_secret : VAULT_ADMIN_PASSWORD
You can’t perform that action at this time.
0 commit comments