Aggiorna .forgejo/workflows/build.yml
All checks were successful
Build and Publish Debian Package / build (push) Successful in 39s
All checks were successful
Build and Publish Debian Package / build (push) Successful in 39s
This commit is contained in:
parent
a5db9d457d
commit
dd5ee5c832
1 changed files with 5 additions and 5 deletions
|
@ -20,11 +20,11 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Debug file structure
|
# - name: Debug file structure
|
||||||
run: ls -R
|
# run: ls -R
|
||||||
|
|
||||||
- name: Debug pwd
|
# - name: Debug pwd
|
||||||
run: pwd
|
# run: pwd
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
@ -43,7 +43,7 @@ jobs:
|
||||||
mkdir -p package/usr/local/bin
|
mkdir -p package/usr/local/bin
|
||||||
mkdir -p package/etc/systemd/system
|
mkdir -p package/etc/systemd/system
|
||||||
# Copy main.py as the executable and rename if needed
|
# 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
|
chmod +x package/usr/local/bin/magicfw
|
||||||
# Copy the systemd service file
|
# Copy the systemd service file
|
||||||
cp systemd/magicfw.service package/etc/systemd/system/
|
cp systemd/magicfw.service package/etc/systemd/system/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue