2022-01-19 23:21:52 +00:00
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
image: none
|
|
|
|
commands:
|
2022-01-20 01:30:06 +00:00
|
|
|
- git clone --recursive https://git.exozy.me/Ta180m/website.git
|
2022-01-19 23:21:52 +00:00
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: none
|
|
|
|
commands:
|
|
|
|
- cd website
|
2022-01-20 23:29:31 +00:00
|
|
|
- hugo --minify
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
image: none
|
|
|
|
commands:
|
2022-01-21 00:33:54 +00:00
|
|
|
- eval $(ssh-agent -s)
|
|
|
|
- ssh-add <(echo "$SSH_KEY")
|
2022-01-21 00:36:13 +00:00
|
|
|
- rsync -e "ssh -o StrictHostKeyChecking=no" -r website/public/* ta180m@localhost:/srv/http/pages/ta180m
|
2022-01-21 00:33:54 +00:00
|
|
|
secrets: [ ssh_key ]
|