Skip to content

Commit 47da397

Browse files
authored
chore(release): manage vault secret from release script (#1084)
1 parent 32952cd commit 47da397

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
export SCW_SECRET_KEY="$(vault kv get -field scaleway_secret_key agw_kv/prd)"
4+
export SCW_ACCESS_KEY="$(vault kv get -field scaleway_access_key agw_kv/prd)"
5+
export GITHUB_TOKEN="$(vault kv get -field cli_release_github_token front_kv/opensource)"
36
cd scripts/release || (echo "Please run this script from repo root" && exit 1)
47

58
yarn install --frozen-lock-file

0 commit comments

Comments
 (0)