fix: use php-ci runner for deploy job instead of ubuntu-latest
- Changed deploy job to use php-ci runner which has Ansible pre-installed - Removed redundant Ansible installation step - Fixes 'ansible: command not found' error in Gitea Actions workflow
This commit is contained in:
@@ -637,7 +637,6 @@ jobs:
|
|||||||
chmod 600 ~/.ssh/production
|
chmod 600 ~/.ssh/production
|
||||||
ssh-keyscan -H ${{ env.DEPLOYMENT_HOST }} >> ~/.ssh/known_hosts
|
ssh-keyscan -H ${{ env.DEPLOYMENT_HOST }} >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
# Ansible is pre-installed in php-ci image
|
|
||||||
- name: Verify Ansible installation
|
- name: Verify Ansible installation
|
||||||
run: ansible --version
|
run: ansible --version
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user