Skip to content

Commit

Permalink
Clean sensitive data after do the work
Browse files Browse the repository at this point in the history
  • Loading branch information
betanzos committed Aug 26, 2020
1 parent d9497c2 commit 4afbc82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ fi

# Copy the file
scp -i key -o "StrictHostKeyChecking no" -P $INPUT_PORT "$INPUT_SOURCE" "$INPUT_USERNAME"@"$INPUT_HOST":$remote_dir

# Clean
cat /dev/null > ~/.bash_history
rm key

0 comments on commit 4afbc82

Please sign in to comment.