Maybe Fixed IT?
Some checks failed
andreas-personal/AndysAdguardHomeBlockList/pipeline/head There was a failure building this commit
Some checks failed
andreas-personal/AndysAdguardHomeBlockList/pipeline/head There was a failure building this commit
This commit is contained in:
parent
89de48245d
commit
a16f1bc3e1
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -20,8 +20,11 @@ pipeline {
|
||||
branch 'main'
|
||||
}
|
||||
steps {
|
||||
sh 'mkdir -p dist'
|
||||
sh 'npm run compile'
|
||||
sh '''
|
||||
git checkout main
|
||||
mkdir -p dist
|
||||
npm run compile
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('git push') {
|
||||
@ -36,8 +39,7 @@ pipeline {
|
||||
sh '''
|
||||
git add .
|
||||
git commit -m "Update Compiled Adblock List"
|
||||
git checkout main
|
||||
git pull
|
||||
git pull --rebase
|
||||
git push
|
||||
'''
|
||||
}
|
||||
|
Reference in New Issue
Block a user