From 4846f43f980dce10efcc44ca02549f30d10081fc Mon Sep 17 00:00:00 2001 From: lilleman Date: Sun, 4 Feb 2024 04:29:40 +0100 Subject: [PATCH] Added deploy pipeline --- .gitea/deploy.sh | 19 +++++++++++++++++++ .gitea/workflows/deploy.yml | 22 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100755 .gitea/deploy.sh create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/deploy.sh b/.gitea/deploy.sh new file mode 100755 index 0000000..be4eab2 --- /dev/null +++ b/.gitea/deploy.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +curl \ +--fail-with-body \ +-H "Authorization: ${RUNNER_API_KEY}" \ +-XPOST 192.168.1.186 \ +-H 'Content-Type: application/json; charset=utf-8' \ +--data-binary @- <