Update .gitlab-ci.yml file

This commit is contained in:
Russell Ballestrini 2025-01-25 00:46:42 +00:00
parent 89d12da47a
commit 68fdd28f7a

13
.gitlab-ci.yml Normal file
View file

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