deploy tokens

This commit is contained in:
parent 0749afd88f
commit 2518e7507d
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -31,8 +31,8 @@ clone:
- set -x - set -x
- echo "hi" - echo "hi"
#- git config --global --unset credential.helper #- git config --global --unset credential.helper
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@git.tablet.sh/".insteadOf "git@git.tablet.sh:" - git config --global url."https://${DEPLOY_USERNAME}:${DEPLOY_TOKEN}@git.tablet.sh/".insteadOf "git@git.tablet.sh:"
script: script:
- git submodule sync - git submodule sync
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@git.tablet.sh/".insteadOf "git@git.tablet.sh:" - git config --global url."https://${DEPLOY_USERNAME}:${DEPLOY_TOKEN}@git.tablet.sh/".insteadOf "git@git.tablet.sh:"
- git submodule update --init --recursive - git submodule update --init --recursive