TinyLifeWeb/web/Jenkinsfile

15 lines
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'''
}
}
}
}