Commit 9edb3b50 authored by Cool Fire (HN)'s avatar Cool Fire (HN)
Browse files

More testing

parent e9d8de88
Pipeline #1458 failed with stage
in 1 minute and 27 seconds
......@@ -10,13 +10,14 @@ before_script:
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
stages:
- test
- deploy
variables:
GIT_SUBMODULE_STRATEGY: recursive
deploy_staging:
stage: deploy
teststuff:
stage: test
image: ubuntu:18.04
script:
- ls -lAsh
......@@ -24,6 +25,16 @@ deploy_staging:
- ls -lAsh
- ls -lAsh public
- ls -lAsh public/css
artifacts:
paths:
- public/
expire_in: 1 week
deploy_staging:
stage: deploy
image: ubuntu:18.04
script:
- hugo -v --gc
- rsync --sparse --delete --no-motd -a -q public/* i2am@10.0.1.105:~/public_html/i2am.insomnia247.nl/
environment:
name: staging
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment