Skip to content

Commit

Permalink
Use a here-string for the SFTP input
Browse files Browse the repository at this point in the history
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
  • Loading branch information
AzureMarker committed Jun 16, 2019
1 parent 42660dc commit de89094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ version: 2
mv pihole-FTL "${BIN_NAME}"
sha1sum pihole-FTL-* > ${BIN_NAME}.sha1
ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts
sftp -b - $SSH_USER@$SSH_HOST << "-mkdir ${DIR}
sftp -b - $SSH_USER@$SSH_HOST <<< "-mkdir ${DIR}
put ${BIN_NAME}* ${DIR}"
mv "${BIN_NAME}" pihole-FTL
- run:
Expand Down

0 comments on commit de89094

Please sign in to comment.