commit 68bcfec8689f1f57fcb47e01c79f62f3dbc8f95f Author: Philipp Böhm Date: Sun Nov 21 11:15:16 2021 +0100 first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..20efa43 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.token diff --git a/checker.sh b/checker.sh new file mode 100755 index 0000000..7827def --- /dev/null +++ b/checker.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +token=$(<.token) + +git_username="spenny.tf" +git_repo="tf2-servers" + +version=$( version.txt + curl -X POST https://drone.boehm.sh/api/repos/$git_username/$git_repo/builds -H "Authorization: Bearer $token" +fi diff --git a/version.txt b/version.txt new file mode 100644 index 0000000..c6fa460 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +6896293