fix missing " in vt, fix missing artifacts path in disco

merge-requests/237/merge test_newCI2023_e
nr0q 2023-10-20 21:29:04 -05:00
rodzic 5e4b8f280c
commit 1e215a0ba2
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -381,10 +381,13 @@ virustotal_push:
echo "Pushing release URLs to VirusTotal"
VER=`node version.js`
BASEURL="http://downloads.gridtracker.og/${CI_COMMIT_TAG}/"
curl --request POST --url https://www.virustotal.com/api/v3/urls --form url=${BASEURL}GridTracker-Installer.${VER}.exe --header 'x-apikey: $VT_API_KEY
curl --request POST --url "https://www.virustotal.com/api/v3/urls" --form url="${BASEURL}GridTracker-Installer.${VER}.exe" --header "x-apikey: ${VT_API_KEY}"
discord_notify:
stage: publish
artifacts:
paths:
- artifacts/
rules:
- if: '$CI_COMMIT_TAG =~ /^(v|test_).*/'
script: