Experimental CI hook
This commit is contained in:
parent
9284d1c4a3
commit
f3c30b3d2c
1 changed files with 4 additions and 6 deletions
|
@ -1,11 +1,9 @@
|
||||||
variables:
|
variables:
|
||||||
WEBROOT: /sites/dennogumi.org
|
WEBROOT: /sites/dennogumi.org
|
||||||
|
|
||||||
stages:
|
build and deploy:
|
||||||
- build
|
|
||||||
# - deploy
|
|
||||||
|
|
||||||
build:
|
|
||||||
stage: build
|
|
||||||
script:
|
script:
|
||||||
- jekyll build --destination /tmp/build
|
- jekyll build --destination /tmp/build
|
||||||
|
- rsync -rlpgoD /releases/ /tmp/build/releases/
|
||||||
|
- rsync -rlpgoD /assets /tmp/build/
|
||||||
|
- rsync -av /tmp/build/ $WEBROOT/
|
||||||
|
|
Reference in a new issue