Commit 1d9f11f7 authored by Wen Wei Li's avatar Wen Wei Li

test sed

parent 62ee4656
Pipeline #4728 failed with stage
......@@ -12,8 +12,8 @@ steps:
- python3 /usr/local/src/scan --src ./ -o /drone/reports
- mkdir ~/.ssh
- chmod 700 ~/.ssh
- echo $KEY > ~/.ssh/id_rsa
- sed 's/ /\n/g' ~/.ssh/id_rsa
- echo $KEY > ./key
- sed -n '1p;1!{s/ //g;p;}' ./key > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- scp -r /drone/reports $USERNAME@$HOST:~/drone_reports/
settings:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment