From 5ae9d79921ea4f5cdde92d7641c972e37b4ea384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Fri, 19 Apr 2024 06:39:17 +0200 Subject: [PATCH 1/2] script fix --- scripts/execute_action.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/execute_action.sh b/scripts/execute_action.sh index 22871bf5..795d9537 100644 --- a/scripts/execute_action.sh +++ b/scripts/execute_action.sh @@ -1,3 +1,2 @@ #!/bin/bash -source /etc/env/ockovani.env curl -X POST "https://api.github.com/repos/msusicky/ockovani-covid/actions/workflows/$1/dispatches" -H "Authorization: token $GH_TOKEN" -H "Accept: application/vnd.github.v3+json" -d '{ "ref": "main" }' From e369a62966ca45ef78cd284c348329c49472af66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Fri, 19 Apr 2024 06:49:57 +0200 Subject: [PATCH 2/2] env file moved --- scripts/execute_action.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/execute_action.sh b/scripts/execute_action.sh index 795d9537..22a8f32a 100644 --- a/scripts/execute_action.sh +++ b/scripts/execute_action.sh @@ -1,2 +1,3 @@ #!/bin/bash +source /home/ockovani/ockovani.env curl -X POST "https://api.github.com/repos/msusicky/ockovani-covid/actions/workflows/$1/dispatches" -H "Authorization: token $GH_TOKEN" -H "Accept: application/vnd.github.v3+json" -d '{ "ref": "main" }'