From 4601a0fc604070cfae9368fa9aed7c38b77b285b Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 13 Apr 2025 17:33:34 +0200 Subject: [PATCH] Add deploy script --- .gitignore | 1 + youtubeWatcher/deploy.sh | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 youtubeWatcher/deploy.sh diff --git a/.gitignore b/.gitignore index fd87773..22b27d8 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ downloader/ytdl.exe downloader/ytdl.log *.log *.xml +*.exe diff --git a/youtubeWatcher/deploy.sh b/youtubeWatcher/deploy.sh new file mode 100644 index 0000000..89b2533 --- /dev/null +++ b/youtubeWatcher/deploy.sh @@ -0,0 +1,3 @@ +nssm stop YoutubeWatcher && \ +go build . && \ +nssm start YoutubeWatcher \ No newline at end of file