tsMuxer/.github/workflows/obs_trigger.sh
Daniel Kamil Kozar 4098d03067
Nightlies on GitHub (#399)
Rework the nightly actions workflow in order to store nightlies in GitHub.

Fixes #397.
2021-02-08 18:12:01 +01:00

5 lines
336 B
Bash
Executable File

#!/usr/bin/env bash
obs_trigger=$(curl --user $OBS_USER:$OBS_SECRET --write-out %{http_code} --silent --output /dev/null -H 'Accept-Encoding: identity' -H 'User-agent: osc/0.164.2' -H 'Content-type: application/x-www-form-urlencoded' -X POST https://api.opensuse.org/build/home:justdan96?cmd=rebuild&package=tsMuxer)
echo $obs_trigger