This commit is contained in:
ai-dev 2024-11-01 18:12:13 +01:00
parent bde29c6731
commit a68524ad44

View File

@ -38,6 +38,9 @@ GITEA_TOKEN=$(bashio::config 'gitea_token')
REPOSITORY=$(bashio::config 'repository') REPOSITORY=$(bashio::config 'repository')
ACT_OPTIONS=$(bashio::config 'act_runner_options') 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) # Register Act runner with Gitea (if needed)
curl -X POST "$GITEA_URL/api/v1/repos/$REPOSITORY/actions/runners" \ curl -X POST "$GITEA_URL/api/v1/repos/$REPOSITORY/actions/runners" \
-H "Authorization: token $GITEA_TOKEN" \ -H "Authorization: token $GITEA_TOKEN" \