update
This commit is contained in:
parent
bde29c6731
commit
a68524ad44
@ -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" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user