mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-22 19:28:35 +01:00
15 lines
242 B
Text
15 lines
242 B
Text
|
pipeline {
|
||
|
agent any
|
||
|
stages {
|
||
|
stage('Pull') {
|
||
|
when {
|
||
|
branch 'main'
|
||
|
}
|
||
|
steps {
|
||
|
sh '''cd /var/www/tinylifegame
|
||
|
git fetch
|
||
|
git checkout ${GIT_COMMIT} -f'''
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|