#!/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