uncloseai.com/.gitlab-ci.yml

13 lines
344 B
YAML

stages:
- deploy
ai.unturf.com:
stage: deploy
tags:
- ai.unturf.com
only:
- master # Change this if you want to deploy from other branches
script:
- echo "Deploying repository to /opt/www using rsync..."
- rsync -av --delete "$CI_PROJECT_DIR/" "/opt/www/"
- echo "Deployment to /opt/www completed successfully."