Website build with Hugo https://slxh.nl
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
594 B

variables:
WWW_DIR: /var/www/slxh/
build:
type: build
script:
- ./deploy.sh less hugo minify
artifacts:
paths:
- public
deploy-production:
type: deploy
script:
- ./deploy.sh less hugo minify
- rsync -a public/ $WWW_DIR --delete
environment:
name: production
url: https://slxh.nl
variables:
HUGO_CANONIFYURLS: true
only:
- master
deploy-ipfs:
type: deploy
script:
- ./deploy.sh less hugo minify ipfs
environment:
name: ipfs
url: https://ipfs.slxh.nl
variables:
HUGO_RELATIVEURLS: true
only:
- master