Skip to content
Snippets Groups Projects
Commit df073bfe authored by ko_oler's avatar ko_oler
Browse files

fix .gitlab-ci.yml

parent df1a7312
No related branches found
No related tags found
1 merge request!1Добавлена генерация файлов для frontend в Makefile и публикацию npm-пакета
Pipeline #19100 failed with stage
in 10 seconds
......@@ -11,8 +11,17 @@ publish_npm:
- apk add --update protobuf-dev
- apk add --update yarn
- apk add --update git
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/".insteadOf "git@gitlab.com:"
- git submodule sync && git submodule update --init
- git config --global credential.helper store
- git config --global credential.useHttpPath true
- |
git credential approve <<EOF
protocol=https
host=gitlab.com
path=my-group/my-submodule-repo.git
username=${CI_DEPENDENCY_PROXY_USER}
password=${CI_DEPENDENCY_PROXY_PASSWORD}
EOF
- git submodule update --init --recursive
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment