diff options
author | Franck Cuny <franck@fcuny.net> | 2022-05-10 19:42:11 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-05-10 19:42:11 -0700 |
commit | afaa1136373f4070d4621257f4fa981356509370 (patch) | |
tree | 2eb62ae0d4113271538b88b9fd55cdc589c34e30 /users/fcuny/blog/scripts | |
parent | delete Makefile (diff) | |
download | world-afaa1136373f4070d4621257f4fa981356509370.tar.gz |
deploy: stop the flyctl agent at the end
I ran into the following issue: ``` The agent failed to start with the following error log: 162022/05/11 02:38:11.375368 srv another instance of the agent is already running ``` I'm not sure this is the right approach, but it's a start.
Diffstat (limited to 'users/fcuny/blog/scripts')
-rwxr-xr-x | users/fcuny/blog/scripts/deploy.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/users/fcuny/blog/scripts/deploy.sh b/users/fcuny/blog/scripts/deploy.sh index ede848c..69ad82a 100755 --- a/users/fcuny/blog/scripts/deploy.sh +++ b/users/fcuny/blog/scripts/deploy.sh @@ -10,3 +10,5 @@ VERSION=$(flyctl info -j |jq -r '.App | "fcuny.net/v\(.Version)"') git tag -a --message ${VERSION} ${VERSION} git push origin --all git push origin --tags + +flyctl agent stop |