Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Update encrypted deploy key (#393)
Browse files Browse the repository at this point in the history
Updates the encrypted deploy key to the most current one.
  • Loading branch information
cdrage authored Oct 26, 2017
1 parent 322fe0a commit 60db735
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Binary file modified scripts/deploy_key.enc
Binary file not shown.
6 changes: 2 additions & 4 deletions scripts/sync-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ fi

DOCS_REPO_NAME="kedge"
DOCS_REPO_URL="[email protected]:kedgeproject/kedge.git"
DOCS_KEY="scripts/deploy_key.enc"
DOCS_KEY="scripts/deploy_key"
DOCS_USER="kedge-bot"
DOCS_EMAIL="[email protected]"
DOCS_BRANCH="gh-pages"
DOCS_FOLDER="docs"
ENC_KEY=$encrypted_91569b511922_key
ENC_IV=$encrypted_91569b511922_iv

# decrypt the private key
openssl aes-256-cbc -K $ENC_KEY -iv $ENC_IV -in "$DOCS_KEY" -out "$DOCS_KEY" -d
openssl aes-256-cbc -K $encrypted_91569b511922_key -iv $encrypted_91569b511922_iv -in "$DOCS_KEY.enc" -out "$DOCS_KEY" -d
chmod 600 "$DOCS_KEY"
eval `ssh-agent -s`
ssh-add "$DOCS_KEY"
Expand Down

0 comments on commit 60db735

Please sign in to comment.