Merge 2 workflows into one
Some checks failed
CI / build (push) Successful in 10s
CI / release (push) Failing after 16s

This commit is contained in:
2025-06-07 11:23:14 +02:00
parent e98a8daad7
commit f3d93e1e46
5 changed files with 37 additions and 45 deletions

View File

@@ -1,11 +1,9 @@
#!/bin/bash
make
current_dir=$(pwd)
sed -i "s|/path/to/folder/|$current_dir/|g" ncsambawatcher.service
sudo cp ncsambawatcher /usr/bin/
sudo chmod +x /usr/bin/ncsambawatcher
sudo cp configs/ncsambawatcher.service /etc/systemd/system
sudo cp ./ncsambawatcher.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable ncsambawatcher.service