From 85faecd9f9034799db62177434a0c8ca140c0a7d Mon Sep 17 00:00:00 2001 From: simon987 Date: Sat, 11 May 2019 15:29:26 -0400 Subject: [PATCH] Remove powered by footer --- jenkins/Jenkinsfile | 13 +++++++------ layouts/.gitkeep | 0 layouts/partials/footer.html | 17 +++++++++++++++++ 3 files changed, 24 insertions(+), 6 deletions(-) delete mode 100644 layouts/.gitkeep create mode 100644 layouts/partials/footer.html diff --git a/jenkins/Jenkinsfile b/jenkins/Jenkinsfile index 25210f5..d473547 100644 --- a/jenkins/Jenkinsfile +++ b/jenkins/Jenkinsfile @@ -16,15 +16,17 @@ pipeline { } stages { stage('Build') { - agent none steps { - sh 'git submodule init && git submodule update --remote' - sh 'hugo && mv public/ webroot/' - stash includes: 'webroot/', name: 'webdist' + node('master') { + checkout scm + sh 'git submodule init && git submodule update --remote' + sh 'hugo && mv public/ webroot/' + stash includes: 'webroot/', name: 'webdist' + } } } + stage('Deploy') { - agent none steps { node('master') { unstash 'webdist' @@ -37,4 +39,3 @@ pipeline { } } - diff --git a/layouts/.gitkeep b/layouts/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..cdf6021 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,17 @@ + + +{{ template "_internal/google_analytics.html" . }}