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