mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-28 16:16:22 +00:00
ci: probar que podemos pushear!
This commit is contained in:
parent
6972aafa75
commit
0d1ca35e6b
1 changed files with 13 additions and 0 deletions
|
@ -24,6 +24,19 @@ variables:
|
||||||
LC_ALL: "C.UTF-8"
|
LC_ALL: "C.UTF-8"
|
||||||
HAINISH: ""
|
HAINISH: ""
|
||||||
cache:
|
cache:
|
||||||
|
push:
|
||||||
|
stage: "deploy"
|
||||||
|
only:
|
||||||
|
- "rails"
|
||||||
|
except:
|
||||||
|
- "schedules"
|
||||||
|
before_script:
|
||||||
|
- "git config --global user.email \"${GIT_USER_EMAIL:-$GITLAB_USER_EMAIL}\""
|
||||||
|
- "git config --global user.name \"${GIT_USER_NAME:-$GITLAB_USER_NAME}\""
|
||||||
|
- "git remote set-url --push origin \"https://GITLAB_CI_PUSH_TOKEN:${GITLAB_CI_PUSH_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git\""
|
||||||
|
script:
|
||||||
|
- "git commit --allow-empty -m \"ci: test [skip ci]\""
|
||||||
|
- "git push -o ci.skip origin HEAD:${CI_COMMIT_BRANCH}"
|
||||||
assets:
|
assets:
|
||||||
stage: "deploy"
|
stage: "deploy"
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in a new issue