Maybe Fixed IT?
Some checks failed
andreas-personal/AndysAdguardHomeBlockList/pipeline/head There was a failure building this commit

This commit is contained in:
Andreas Fahrecker 2024-04-10 03:43:50 +02:00
parent 89de48245d
commit a16f1bc3e1

10
Jenkinsfile vendored
View File

@ -20,8 +20,11 @@ pipeline {
branch 'main' branch 'main'
} }
steps { steps {
sh 'mkdir -p dist' sh '''
sh 'npm run compile' git checkout main
mkdir -p dist
npm run compile
'''
} }
} }
stage('git push') { stage('git push') {
@ -36,8 +39,7 @@ pipeline {
sh ''' sh '''
git add . git add .
git commit -m "Update Compiled Adblock List" git commit -m "Update Compiled Adblock List"
git checkout main git pull --rebase
git pull
git push git push
''' '''
} }