From a68524ad44ebdecab8d56fe2c98e2ec0ca664ae9 Mon Sep 17 00:00:00 2001 From: ai-dev Date: Fri, 1 Nov 2024 18:12:13 +0100 Subject: [PATCH] update --- gitea_act_runner/rootfs/etc/services.d/actrunner/run | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gitea_act_runner/rootfs/etc/services.d/actrunner/run b/gitea_act_runner/rootfs/etc/services.d/actrunner/run index fd9d7c6..2e97be1 100644 --- a/gitea_act_runner/rootfs/etc/services.d/actrunner/run +++ b/gitea_act_runner/rootfs/etc/services.d/actrunner/run @@ -38,6 +38,9 @@ GITEA_TOKEN=$(bashio::config 'gitea_token') REPOSITORY=$(bashio::config 'repository') ACT_OPTIONS=$(bashio::config 'act_runner_options') +# Activate the Ansible virtual environment +source /opt/ansible-venv/bin/activate + # Register Act runner with Gitea (if needed) curl -X POST "$GITEA_URL/api/v1/repos/$REPOSITORY/actions/runners" \ -H "Authorization: token $GITEA_TOKEN" \