blob: d5beaa6e31c12e0c7b2cbb81be6f80274446a148 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
echo "Running CI hook..."
source /etc/cynci.sh
CI_URL="https://ci.cynthia.re/webhook/src"
repo_name=$(basename $(pwd))
echo $repo_name
curl -X POST -H "X-CynCI-Token: $CYNCI_TOKEN" --data "{\"repo\":\"${repo_name}\"}" $CI_URL
|