Skip to content

Commit

Permalink
Fix static site deployment for prod (#373)
Browse files Browse the repository at this point in the history
* Remove duplicate stage

* Surround identity file path in quotes

* Rename stage

* Change stage name back
  • Loading branch information
jimmyfagan authored Aug 20, 2024
1 parent 99e93eb commit b93829e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ops/Jenkinsfile.cbc-build-deploy-prod-akamai
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pipeline {
stage("Deploy Static Site to Akamai NetStorage (rsync)") {
steps {
sh """
rsync -av -e "ssh -oHostKeyAlgorithms=+ssh-dss -oStrictHostKeyChecking=no -i ${AKAMAI_SCP_SSH_KEY}" ./_site/ ${AKAMAI_SSH_USER}@bluebuttoncms.rsync.upload.akamai.com:${UPLOAD_LOCATION} --delete
rsync -av -e "ssh -oHostKeyAlgorithms=+ssh-dss -oStrictHostKeyChecking=no -i '${AKAMAI_SCP_SSH_KEY}'" ./_site/ ${AKAMAI_SSH_USER}@bluebuttoncms.rsync.upload.akamai.com:${UPLOAD_LOCATION} --delete
"""
}
}
Expand All @@ -114,7 +114,7 @@ pipeline {
stage("Deploy CSS to Akamai NetStorage (rsync)") {
steps {
sh """
rsync -av -e "ssh -oHostKeyAlgorithms=+ssh-dss -oStrictHostKeyChecking=no -i ${AKAMAI_SCP_SSH_KEY}" ./dist/static-main.css ${AKAMAI_SSH_USER}@bluebuttoncms.rsync.upload.akamai.com:${UPLOAD_LOCATION}assets/css/
rsync -av -e "ssh -oHostKeyAlgorithms=+ssh-dss -oStrictHostKeyChecking=no -i '${AKAMAI_SCP_SSH_KEY}''" ./dist/static-main.css ${AKAMAI_SSH_USER}@bluebuttoncms.rsync.upload.akamai.com:${UPLOAD_LOCATION}assets/css/
"""
}
}
Expand Down

0 comments on commit b93829e

Please sign in to comment.