diff --git a/staticweb/pipeline-templates/symfonyencore.pipeline b/staticweb/pipeline-templates/symfonyencore.pipeline index dfaceb7..260da3e 100644 --- a/staticweb/pipeline-templates/symfonyencore.pipeline +++ b/staticweb/pipeline-templates/symfonyencore.pipeline @@ -1,37 +1,37 @@ // Request a node to be allocated to us node( "StaticWeb" ) { // We want Timestamps on everything timestamps { // We want to catch any errors that occur to allow us to send out notifications (ie. emails) if needed catchError { // First Thing: Checkout Sources stage('Checkout Sources') { // Make sure we have a clean slate to begin with deleteDir() // Code checkout changelog: true, poll: true, scm: [ $class: 'GitSCM', branches: [[name: gitBranch]], userRemoteConfigs: [[url: repositoryUrl]] ] } // Let's build website now stage('Build SASS and Javascript') { sh """ export LANG=en_US.UTF-8 yarn install yarn encore production VERSIONING=true yarn encore production """ } // Deploy the website! stage('Publishing to CDN') { sh """ - rsync -Hav --delete -e "ssh -i ${deploykey}" build/ ${deployuser}@${deployhost}:${deploypath} + rsync -Hav -e "ssh -i ${deploykey}" build/ ${deployuser}@${deployhost}:${deploypath} """ } } } }