TinyLifeWeb/web/Jenkinsfile

15 lines
242 B
Text
Raw Normal View History

pipeline {
agent any
stages {
stage('Pull') {
when {
branch 'main'
}
steps {
sh '''cd /var/www/tinylifegame
git fetch
git checkout ${GIT_COMMIT} -f'''
}
}
}
}