Skip to content

Commit

Permalink
change script path
Browse files Browse the repository at this point in the history
try to make reprepro work.
  • Loading branch information
cc0h authored Oct 5, 2023
1 parent 89469ff commit 68fa644
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deb_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
key: ${{ secrets.SOURCE_SSH_KEYGEN }}
port: ${{ secrets.SOURCE_SSH_PORT }}
source: "*.deb"
target: "/home/dynamicx/dynamicx_package_hub/wwwroot/ppa/incoming"
target: "/home/dynamicx/package_hub/wwwroot/ppa/incoming"
- name: Deploy deb package to source
# if: ${{ github.repository == 'rm-controls/rm_control' }}
uses: appleboy/ssh-action@master
Expand All @@ -40,6 +40,6 @@ jobs:
key: ${{ secrets.SOURCE_SSH_KEYGEN }}
port: ${{ secrets.SOURCE_SSH_PORT }}
script: |
cd /home/dynamicx/dynamicx_package_hub/wwwroot/ppa/
reprepro -s -b . includedeb focal /home/dynamicx/dynamicx_package_hub/wwwroot/ppa/incoming/*.deb && \
cd /home/dynamicx/package_hub/wwwroot/ppa/
reprepro -s -b . includedeb focal /home/dynamicx/package_hub/wwwroot/ppa/incoming/*.deb && \
rm -f incoming/*.deb

0 comments on commit 68fa644

Please sign in to comment.