diff --git a/Jenkinsfile b/Jenkinsfile index 124cd19..673f432 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,16 +1,10 @@ pipeline { - agent none + agent { label 'fedora' } stages { stage('Build site') { - agent { - docker { - image 'git.dreamfall.space/thrrgilag/kiln:latest' - label 'docker-build' - } - } steps { mattermostSend "Site build started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" - sh 'kiln build' + sh 'hugo' } post { success { @@ -22,7 +16,6 @@ pipeline { } } stage('Deploy site') { - agent { label 'docker-build' } steps { mattermostSend "Site deploy started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" ansiblePlaybook( diff --git a/main.yaml b/main.yaml index 3d0559c..6c392c7 100644 --- a/main.yaml +++ b/main.yaml @@ -7,5 +7,5 @@ tasks: - name: Sync html directory ansible.posix.synchronize: - src: public/https/ + src: public/ dest: "{{ html_location }}/"