From a465a2329688908b3fec2b5662449884d977fcbb Mon Sep 17 00:00:00 2001 From: Florimond Manca Date: Tue, 22 Nov 2022 10:26:47 +0100 Subject: [PATCH] Fix workflow_run (#307) * Fix workflow_run * Fix supervisor client stopped: fails if client is already stopped --- .github/workflows/deploy.yml | 3 --- ansible/roles/web/tasks/supervisor.yml | 6 ------ 2 files changed, 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 43531d0e..fad2b0c3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,6 @@ name: Deployment on: - push: - branches: - - master workflow_run: workflows: - CI diff --git a/ansible/roles/web/tasks/supervisor.yml b/ansible/roles/web/tasks/supervisor.yml index 00eb4e99..63954651 100644 --- a/ansible/roles/web/tasks/supervisor.yml +++ b/ansible/roles/web/tasks/supervisor.yml @@ -14,12 +14,6 @@ become: true notify: reload nginx -# Drop 'client' process which ran before implementing sapper/sveltekit facade -- name: Ensure client is stopped - supervisorctl: name=client state=stopped - become: true - notify: reload nginx - - name: Ensure client-legacy is running supervisorctl: name=client-legacy state=present become: true