mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
Rename deploy key
This commit is contained in:
@@ -47,10 +47,10 @@ ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
|
|||||||
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
|
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
|
||||||
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
|
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
|
||||||
ENCRYPTED_IV=${!ENCRYPTED_IV_VAR}
|
ENCRYPTED_IV=${!ENCRYPTED_IV_VAR}
|
||||||
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in deploy/deploy_key.enc -out deploy_key -d
|
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in deploy/deploy-key.enc -out deploy-key -d
|
||||||
chmod 600 deploy_key
|
chmod 600 deploy-key
|
||||||
eval `ssh-agent -s`
|
eval `ssh-agent -s`
|
||||||
ssh-add deploy_key
|
ssh-add deploy-key
|
||||||
|
|
||||||
# Checkout the repo in the target branch so we can build docs and push to it
|
# Checkout the repo in the target branch so we can build docs and push to it
|
||||||
TARGET_BRANCH="docs"
|
TARGET_BRANCH="docs"
|
||||||
|
|||||||
Reference in New Issue
Block a user