Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Oct 2, 2024
1 parent fcb94b6 commit 16a48c1
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,15 @@ jobs:
./dist/nyalcf_cli-macos-arm64
./dist/nyalcf_cli-macos-x64
upload-apt-resources:
name: upload-apt-resources
runs-on: ubuntu-latest
needs:
- windows
- linux
- macos

steps:
- name: Update APT Source
uses: wlixcc/[email protected]
with:
Expand All @@ -252,6 +261,5 @@ jobs:
ssh_private_key: ${{ secrets.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'
run: |
ssh root@${{ secrets.SERVER_IP }} '/root/aptly/publish.sh'

0 comments on commit 16a48c1

Please sign in to comment.