From f171dcfe0211a751cadc0d3ca435a4709e7d86f6 Mon Sep 17 00:00:00 2001 From: s00ner Date: Fri, 18 Feb 2022 14:45:48 -0500 Subject: [PATCH] attempt #2 --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 81b0e38..d7d3f78 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,11 +13,11 @@ pipeline { [ -d ~/.ssh ] || mkdir ~/.ssh && chmod 0700 ~/.ssh ssh-keyscan -t rsa,dsa baltimore-wiki.lxd >> ~/.ssh/known_hosts ssh mdbook@baltimore-wiki.lxd << EOF - cd $(mktemp -d) - wget https://git.doublehack.me/s00ner/Baltimore-hackthebox-knowledgebase/archive/main.tar.gz - tar -xf main.tar.gz - rsync --recursive --exclude 'Jenkinsfile' --delete ./baltimore-hackthebox-knowledgebase/ /home/mdbook/wiki/src/ - rm -rf $(pwd) +cd $(mktemp -d) +wget https://git.doublehack.me/s00ner/Baltimore-hackthebox-knowledgebase/archive/main.tar.gz +tar -xf main.tar.gz +rsync --recursive --exclude 'Jenkinsfile' --delete ./baltimore-hackthebox-knowledgebase/ /home/mdbook/wiki/src/ +rm -rf $(pwd) EOF '''