chore: add new service gitea action
Deploy bin / deploy (push) Successful in 3s
Deploy service MASTER / deploy (push) Failing after 2s

This commit is contained in:
Benjamin Labrecque
2026-07-06 13:36:24 +02:00
parent bd188f069e
commit bd9692524e
2 changed files with 24 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Add new service
on:
push:
branches:
- 'features/add-service-*'
jobs:
deploy:
runs-on: hla-dev
defaults:
run:
working-directory: ./ansible
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Restart master service
run: |
ansible-playbook restart-master-ioc.yml -i hosts.yml
+3 -1
View File
@@ -41,4 +41,6 @@
# TODO: prod/dev
cmd: "ioc restart AGEBD-CPCL-MASTER-DEV"
chdir: "{{ workspace_dir }}/services/000-master/ioc"
changed_when: true
changed_when: true
# TODO: restart systemd master service?