Delete .gitlab-ci.yml
All checks were successful
/ test (push) Successful in 1m2s

This commit is contained in:
antonin 2024-01-01 22:16:50 +01:00
parent 0319841c8e
commit d5feb86da4

View file

@ -1,24 +0,0 @@
image: node:18
cache:
paths:
- node_modules/
variables:
RSYNC_SSH: ssh -o StrictHostKeyChecking=no -p 19022
before_script:
- which ssh-agent || (apt-get update -y && apt-get install openssh-client -y )
- which rsync || (apt-get update -y && apt-get install rsync -y)
- eval $(ssh-agent -s)
- ssh-add <(echo "$DEPLOY_SSH_KEY")
deploy:
script:
- yarn
- yarn build
- rsync -av --delete -e "$RSYNC_SSH" public/ "$DEPLOY_DESTINATION"
environment:
name: production
url: https://handbook.kanthaus.online
only:
- master