Skip to content
Snippets Groups Projects

Use downloaded tarball instead of local binary.

Merged Adam Caprez requested to merge deploy-update into master
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
+ 4
1
@@ -30,7 +30,10 @@ deploy:
@@ -30,7 +30,10 @@ deploy:
tags:
tags:
- hcc-docs-prod
- hcc-docs-prod
script:
script:
 
- export HUGOTMP=`mktemp -d`
 
- curl -L -o - ${HUGO_TARBALL} | tar -zx -C ${HUGOTMP}
- curl -L https://raw.githubusercontent.com/unlhcc/singularity-dockerfiles/master/IMAGELIST.md > static/markdown/singularity-images.md
- curl -L https://raw.githubusercontent.com/unlhcc/singularity-dockerfiles/master/IMAGELIST.md > static/markdown/singularity-images.md
- hugo --ignoreCache -b ${BASE_URL} -v
- ${HUGOTMP}/hugo --ignoreCache -b ${BASE_URL} -v
- pandoc -s content/facilities.md -o public/facilities.docx
- pandoc -s content/facilities.md -o public/facilities.docx
- rsync -avz --delete public/ $DEPLOY_ROOT
- rsync -avz --delete public/ $DEPLOY_ROOT
 
- rm -rf ${HUGOTMP}
Loading