fix: update git remote to self-hosted Gitea
This commit is contained in:
Vendored
+1
@@ -44,6 +44,7 @@ pipeline {
|
|||||||
sh 'git config --global --add safe.directory ${APP_DIR}'
|
sh 'git config --global --add safe.directory ${APP_DIR}'
|
||||||
sh 'DEPLOY_PREV_SHA=$(git rev-parse HEAD) && echo $DEPLOY_PREV_SHA > .deploy_prev_sha'
|
sh 'DEPLOY_PREV_SHA=$(git rev-parse HEAD) && echo $DEPLOY_PREV_SHA > .deploy_prev_sha'
|
||||||
sh 'git reset --hard'
|
sh 'git reset --hard'
|
||||||
|
sh 'git remote set-url origin https://git.occasus.ru/failj/ntspi-app.git'
|
||||||
sh 'git pull origin master'
|
sh 'git pull origin master'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user