diff --git a/.github/workflows/deb_package.yml b/.github/workflows/deb_package.yml index fe6e48b8..fedd1648 100644 --- a/.github/workflows/deb_package.yml +++ b/.github/workflows/deb_package.yml @@ -31,8 +31,9 @@ jobs: host: ${{ secrets.SOURCE_SSH_HOST }} username: ${{ secrets.SOURCE_SSH_NAME }} key: ${{ secrets.SOURCE_SSH_KEYGEN }} + port: ${{ secrets.SOURCE_SSH_PORT }} source: "*.deb" - target: "/usr/local/web/rm-source/ubuntu/incoming/" + target: "/home/dynamicx/package_hub/wwwroot/ppa/incoming" - name: Deploy deb package to source if: ${{ github.repository == 'rm-controls/rm_controllers' }} uses: appleboy/ssh-action@master @@ -40,7 +41,7 @@ jobs: host: ${{ secrets.SOURCE_SSH_HOST }} username: ${{ secrets.SOURCE_SSH_NAME }} key: ${{ secrets.SOURCE_SSH_KEYGEN }} + port: ${{ secrets.SOURCE_SSH_PORT }} script: | - cd /usr/local/web/rm-source/ubuntu/incoming/ - reprepro -s -b /usr/local/web/rm-source/ubuntu/ --waitforlock 1000 includedeb focal /usr/local/web/rm-source/ubuntu/incoming/*.deb && \ - rm -f *.deb + cd /home/dynamicx/package_hub/wwwroot/ppa/ + bash deploy.sh