Skip to content

Commit

Permalink
Merge pull request #200 from Muska-Ami/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Muska-Ami authored Oct 2, 2024
2 parents 37edd17 + 1f23011 commit 2782fdb
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,16 @@ jobs:
- name: Update APT Source
uses: wlixcc/[email protected]
with:
username: 'root'
server: '${{ secrets.SERVER_IP }}'
ssh_private_key: ${{ secrets.SSH_PASSWORD }}
username: root
server: ${{ secrets.APT_PUBLISH_SERVER_IP }}
password: ${{ secrets.APT_PUBLISH_SSH_PASSWORD }}
local_path: './dist/${{ env.NYA_VERSION }}/nyalcf-${{ env.NYA_VERSION }}-linux.deb'
remote_path: '/root/aptly/'
- name: Run Remote Shell
run: |-
ssh root@${{ secrets.SERVER_IP }} '/root/aptly/publish.sh'
uses: appleboy/[email protected]
with:
host: ${{ secrets.APT_PUBLISH_SERVER_IP }}
username: root
password: ${{ secrets.APT_PUBLISH_SSH_PASSWORD }}
port: 22
script: bash /root/aptly/publish.sh

0 comments on commit 2782fdb

Please sign in to comment.