diff --git a/kibot-ci.yml b/kibot-ci.yml index 0a3b9e3..2abc305 100644 --- a/kibot-ci.yml +++ b/kibot-ci.yml @@ -127,15 +127,15 @@ image: boms: - cd $CI_PROJECT_DIR/.gitlab/.scripts/ki-ntree/ - - apt update && apt install curl wget pip -y && pip install --break-system-packages poetry + - apt update && apt install curl pip -y && pip install --break-system-packages poetry - poetry install - cd /tmp - url="https://gitlab.com/api/v4/projects/${DIGI_API_PRJ_ID}/packages/generic/digikey_api/0/token_storage.json" - | if [[ -z "$KINTREE_DIGI_TOKEN" ]]; then - wget $url + curl --header "JOB-TOKEN: $CI_JOB_TOKEN" $url >> token_storage.json else - cp $KINTREE_DIGI_TOKEN token_storage.json + cp $KINTREE_DIGI_TOKEN token_storage.json fi - ls - cd $CI_PROJECT_DIR/Fabrication