Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
drone_test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wen Wei Li
drone_test
Commits
87ccde81
Commit
87ccde81
authored
Aug 23, 2023
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test sed
parent
1d9f11f7
Pipeline
#4729
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
.drone.yml
.drone.yml
+3
-1
No files found.
.drone.yml
View file @
87ccde81
...
...
@@ -13,7 +13,9 @@ steps:
-
mkdir ~/.ssh
-
chmod 700 ~/.ssh
-
echo $KEY > ./key
-
sed -n '1p;1!{s/ //g;p;}' ./key > ~/.ssh/id_rsa
-
echo "-----BEGIN RSA PRIVATE KEY-----" > ~/.ssh/id_rsa
-
sed 's/ /\n/g' ./key >> ~/.ssh/id_rsa
-
echo "-----END RSA PRIVATE KEY-----" >> ~/.ssh/id_rsa
-
chmod 600 ~/.ssh/id_rsa
-
scp -r /drone/reports $USERNAME@$HOST:~/drone_reports/
settings
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment