morgan pushed to branch maint-14.0 at The Tor Project / Applications / tor-browser-build
Commits: 858980fa by Morgan at 2024-12-19T14:32:17+00:00 Bug 41340: Update kick_devmole_build script with Mullvad's new GitHub workflow endpoint
- - - - -
1 changed file:
- projects/release/kick_devmole_build
Changes:
===================================== projects/release/kick_devmole_build ===================================== @@ -35,8 +35,14 @@ if [[ "${AUTH_TOKEN}" = "" ]]; then exit 1 fi
-# make request -curl -X POST "https://drone-server.devmole.eu/api/repos/mullvad/browser-build/builds?branc..." -H "Authorization: Bearer ${AUTH_TOKEN}" -H "Accept: application/json" +# GitHub documentation: https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#crea... +curl \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${AUTH_TOKEN}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/mullvad/browser-build/actions/workflows/main.ym... \ + -d "{"ref":"main","inputs":{"tag":"${TAG}","release":"${RELEASE}"}}"
echo echo Hashes will appear here: https://cdn.stagemole.eu/browser/hashes/%5B% c("var/projectname") %]/[% c("var/torbrowser_version") %]-[% c("var/torbrowser_build") %]/
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/85...