Skip to content

Commit

Permalink
chore(release): manage vault secret from release script (#1084)
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone authored Jun 8, 2020
1 parent 32952cd commit 47da397
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

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

yarn install --frozen-lock-file
Expand Down

0 comments on commit 47da397

Please sign in to comment.