Update .gitlab-ci.yml file
This commit is contained in:
parent
89d12da47a
commit
68fdd28f7a
1 changed files with 13 additions and 0 deletions
13
.gitlab-ci.yml
Normal file
13
.gitlab-ci.yml
Normal 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."
|
||||
Loading…
Add table
Add a link
Reference in a new issue