File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 66 depth : 5
77
88steps :
9+ init-secrets :
10+ image : infisical/cli
11+ commands :
12+ - infisical export --domain https://vault.devforth.io/api --format=dotenv-export --env="prod" > "${SCRIPT_DIR}/deploy.vault.env"
13+ secrets :
14+ - VAULT_TOKEN
915
1016 release :
1117 image : node:20
@@ -14,15 +20,12 @@ steps:
1420 volumes :
1521 - /var/run/docker.sock:/var/run/docker.sock
1622 commands :
23+ - export $(cat deploy.vault.env | xargs)
1724 - cd adminforth
1825 - npm clean-install
1926 - /bin/bash ../live-demo/deploy/buildRelease.sh
2027 - npm audit signatures
2128 - npx semantic-release
22- secrets :
23- - GITHUB_TOKEN
24- - NPM_TOKEN
25- - SLACK_WEBHOOK
2629
2730 slack-on-failure :
2831 # use curl because the plugin can't interpolate template
@@ -32,10 +35,9 @@ steps:
3235 - event : push
3336 image : curlimages/curl
3437 commands :
38+ - export $(cat deploy.vault.env | xargs)
3539 - cd live-demo/deploy && /bin/sh buildSlackNotify.sh
3640
37- secrets :
38- - DEVELOPERS_SLACK_WEBHOOK
3941
4042 build-live-demo :
4143 when :
You can’t perform that action at this time.
0 commit comments