Update CI/CD
This commit is contained in:
+1
-4
@@ -113,15 +113,12 @@ mirror_to_gitea:
|
|||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
stage: .post
|
stage: .post
|
||||||
variables:
|
variables:
|
||||||
GIT_DEPTH: 1
|
|
||||||
GIT_STRATEGY: clone
|
GIT_STRATEGY: clone
|
||||||
script:
|
script:
|
||||||
- git config user.name "GitLab CI/CD"
|
- git config user.name "GitLab CI/CD"
|
||||||
- git config user.email "ci@leor156.online"
|
- git config user.email "ci@leor156.online"
|
||||||
- git branch -D showcase || true
|
|
||||||
- git checkout --orphan showcase
|
|
||||||
- git add -A
|
- git add -A
|
||||||
- git commit -m "Showcase update - ${CI_COMMIT_SHORT_SHA}"
|
- git commit -m "Showcase update - ${CI_COMMIT_SHORT_SHA}"
|
||||||
- git remote add gitea https://leo:$GITEA_TOKEN@gitea.leor156.online/leo/quote_bot_auto-deployment.git
|
- git remote add gitea https://leo:$GITEA_TOKEN@gitea.leor156.online/leo/quote_bot_auto-deployment.git
|
||||||
- git push gitea showcase:main --force
|
- git push gitea HEAD:main --force
|
||||||
when: on_success
|
when: on_success
|
||||||
Reference in New Issue
Block a user