Skip to content

Commit 8fe5ea9

Browse files
authored
Merge pull request #997 from parente/fix-deploy-key-format
Fix ssh deploy key format
2 parents 357e758 + 171ba82 commit 8fe5ea9

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

all-spark-notebook/hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ INDEX_FILE="${GIT_SANDBOX}/Home.md"
1818

1919
# Configure git so it can push back to GitHub.
2020
eval $(ssh-agent -s)
21-
ssh-add <(echo "$DEPLOY_KEY")
21+
ssh-add <(base64 -d <(echo "$DEPLOY_KEY"))
2222
ssh-add -l
2323
git config --global user.email "[email protected]"
2424
git config --global user.name "Jupyter Docker Stacks"

datascience-notebook/hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ INDEX_FILE="${GIT_SANDBOX}/Home.md"
1818

1919
# Configure git so it can push back to GitHub.
2020
eval $(ssh-agent -s)
21-
ssh-add <(echo "$DEPLOY_KEY")
21+
ssh-add <(base64 -d <(echo "$DEPLOY_KEY"))
2222
ssh-add -l
2323
git config --global user.email "[email protected]"
2424
git config --global user.name "Jupyter Docker Stacks"

minimal-notebook/hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ INDEX_FILE="${GIT_SANDBOX}/Home.md"
1818

1919
# Configure git so it can push back to GitHub.
2020
eval $(ssh-agent -s)
21-
ssh-add <(echo "$DEPLOY_KEY")
21+
ssh-add <(base64 -d <(echo "$DEPLOY_KEY"))
2222
ssh-add -l
2323
git config --global user.email "[email protected]"
2424
git config --global user.name "Jupyter Docker Stacks"

pyspark-notebook/hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ INDEX_FILE="${GIT_SANDBOX}/Home.md"
1818

1919
# Configure git so it can push back to GitHub.
2020
eval $(ssh-agent -s)
21-
ssh-add <(echo "$DEPLOY_KEY")
21+
ssh-add <(base64 -d <(echo "$DEPLOY_KEY"))
2222
ssh-add -l
2323
git config --global user.email "[email protected]"
2424
git config --global user.name "Jupyter Docker Stacks"

r-notebook/hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ INDEX_FILE="${GIT_SANDBOX}/Home.md"
1818

1919
# Configure git so it can push back to GitHub.
2020
eval $(ssh-agent -s)
21-
ssh-add <(echo "$DEPLOY_KEY")
21+
ssh-add <(base64 -d <(echo "$DEPLOY_KEY"))
2222
ssh-add -l
2323
git config --global user.email "[email protected]"
2424
git config --global user.name "Jupyter Docker Stacks"

scipy-notebook/hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ INDEX_FILE="${GIT_SANDBOX}/Home.md"
1818

1919
# Configure git so it can push back to GitHub.
2020
eval $(ssh-agent -s)
21-
ssh-add <(echo "$DEPLOY_KEY")
21+
ssh-add <(base64 -d <(echo "$DEPLOY_KEY"))
2222
ssh-add -l
2323
git config --global user.email "[email protected]"
2424
git config --global user.name "Jupyter Docker Stacks"

tensorflow-notebook/hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ INDEX_FILE="${GIT_SANDBOX}/Home.md"
1818

1919
# Configure git so it can push back to GitHub.
2020
eval $(ssh-agent -s)
21-
ssh-add <(echo "$DEPLOY_KEY")
21+
ssh-add <(base64 -d <(echo "$DEPLOY_KEY"))
2222
ssh-add -l
2323
git config --global user.email "[email protected]"
2424
git config --global user.name "Jupyter Docker Stacks"

0 commit comments

Comments
 (0)