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" . }}