no need for gitlab pipeline

This commit is contained in:
Fizzizist 2025-01-05 09:05:44 -05:00
parent 6d728fadba
commit 8716ad2b26

View File

@ -1,13 +0,0 @@
deploy-prod:
stage: deploy
image: alpine
before_script:
- 'command -v ssh-agent > /dev/null || (apk add --update openssh-client)'
- eval $(ssh-agent -s)
- echo "$GITLAB_LIVILLA_PRIV" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan $LIVILLA_IP >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
- ssh $LIVILLA_USER@$LIVILLA_IP 'cd phaetere/blog_posts;git pull'