Skip to content

Commit

Permalink
Fix workflow_run (#307)
Browse files Browse the repository at this point in the history
* Fix workflow_run

* Fix supervisor client stopped: fails if client is already stopped
  • Loading branch information
florimondmanca authored Nov 22, 2022
1 parent 074a9bf commit a465a23
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Deployment

on:
push:
branches:
- master
workflow_run:
workflows:
- CI
Expand Down
6 changes: 0 additions & 6 deletions ansible/roles/web/tasks/supervisor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a465a23

Please sign in to comment.