This commit is contained in:
Tiavina 2024-12-24 17:08:57 +03:00
commit fe4de56abb
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,6 +5,7 @@
!calendar/
!gestion/
!Jenkinsfile
!calendar/**
!gestion/**

13
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,13 @@
pipeline {
agent any
stages {
stage ("deploy to dev ezway") {
when { branch 'staging' }
agent { label 'apache && dev' }
steps {
sh '''cd /var/www/nextcloud/nextcloud/custom_apps
sudo su jenkins -c "git pull origin staging" '''
}
}
}
}