Aggiorna .forgejo/workflows/build.yml
All checks were successful
Build and Publish Debian Package / build (push) Successful in 39s

This commit is contained in:
Marco Realacci 2025-03-15 02:37:29 +01:00
parent a5db9d457d
commit dd5ee5c832

View file

@ -20,11 +20,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Debug file structure
run: ls -R
# - name: Debug file structure
# run: ls -R
- name: Debug pwd
run: pwd
# - name: Debug pwd
# run: pwd
- name: Set up Python
uses: actions/setup-python@v4
@ -43,7 +43,7 @@ jobs:
mkdir -p package/usr/local/bin
mkdir -p package/etc/systemd/system
# Copy main.py as the executable and rename if needed
cp main.py package/usr/local/bin/magicfw
cp src/main.py package/usr/local/bin/magicfw
chmod +x package/usr/local/bin/magicfw
# Copy the systemd service file
cp systemd/magicfw.service package/etc/systemd/system/