5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-19 10:36:23 +00:00

ci: autenticarse como la gitlab ci

This commit is contained in:
f 2023-04-15 13:08:54 -03:00
parent 7a0e0295eb
commit 23001666e6

View file

@ -20,7 +20,7 @@ assets:
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_USERNAME}:${GITLAB_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git\""
- "git remote set-url --push origin \"https://gitlab-ci-token:${GITLAB_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git\""
- "apk add python2 dotenv brotli"
- "mv config/credentials.yml.enc.ci config/credentials.yml.enc"
- "cp .env.example .env"