remove old gitlab-ci config
This commit is contained in:
parent
999c3a1e65
commit
26005dfd19
|
@ -1,36 +0,0 @@
|
|||
image: ariejan/dockerized-hugo:latest
|
||||
|
||||
test:
|
||||
script:
|
||||
- hugo
|
||||
|
||||
except:
|
||||
- master
|
||||
|
||||
pages:
|
||||
before_script:
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
- whoami
|
||||
- ls -alh ~/.ssh/id_rsa
|
||||
- ssh-keyscan -H 'mail.devroom.io' >> ~/.ssh/known_hosts
|
||||
- rsync --version
|
||||
- hugo version
|
||||
- ssh -vv -i ~/.ssh/id_rsa ariejan@mail.devroom.io exit; echo $?
|
||||
|
||||
script:
|
||||
- hugo
|
||||
- cd "$CI_PROJECT_DIR"
|
||||
- rsync -az4 -e 'ssh -i ~/.ssh/id_rsa -l ariejan' --stats --delete-after public/* mail.devroom.io:/home/ariejan/www/devroom.io/
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
||||
environment:
|
||||
name: production
|
||||
url: https://www.devroom.io
|
||||
|
||||
only:
|
||||
- master
|
Loading…
Reference in New Issue
Block a user