From 13d627d3519f90809db2ac8c5fae75d0cbfc1951 Mon Sep 17 00:00:00 2001 From: Michael Schiemer Date: Sat, 8 Nov 2025 14:50:25 +0100 Subject: [PATCH] fix: Use php-ci runner for deploy jobs - Change deploy-staging and deploy-production to use php-ci runner - php-ci image has Ansible pre-installed, fixing 'ansible-playbook: command not found' error --- .gitea/workflows/build-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index ab2bb98b..ddfff596 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -915,7 +915,7 @@ jobs: name: Auto-deploy to Staging needs: [changes, build] if: ${{ always() && (github.ref_name == 'staging' || github.head_ref == 'staging' || (github.ref_name == '' && contains(github.ref, 'staging'))) && needs.build.result != 'failure' && needs.build.result != 'cancelled' && needs.changes.result != 'failure' && needs.changes.result != 'cancelled' }} - runs-on: ubuntu-latest + runs-on: php-ci environment: name: staging url: https://staging.michaelschiemer.de @@ -1064,7 +1064,7 @@ jobs: name: Auto-deploy to Production needs: [changes, build] if: always() && (github.ref_name == 'main' || github.head_ref == 'main' || (github.ref_name == '' && contains(github.ref, 'main'))) && needs.changes.outputs.needs_build == 'true' - runs-on: ubuntu-latest + runs-on: php-ci environment: name: production url: https://michaelschiemer.de