Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Dec 22, 2024
2 parents d25023b + 627b9f6 commit 0b18523
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,43 +237,3 @@ jobs:
./dist/nyalcf_cli-linux-x64
./dist/nyalcf_cli-macos-arm64
./dist/nyalcf_cli-macos-x64
publish_apt_sources:
name: apt sources publish
runs-on: ubuntu-latest
needs:
- windows
- linux
- macos

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Fetch Version
run: |-
sudo snap install yq
cd nyalcf_gui
nyalcf_version=$(yq eval '.version' pubspec.yaml)
echo "NYA_VERSION=$nyalcf_version" >> $GITHUB_ENV
cd ..
- name: Download Build Artifact(Linux)
uses: actions/download-artifact@v4
with:
name: "Linux Artifact(Dist)"
path: dist/
- name: Upload DEB Package
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
with:
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
uses: appleboy/ssh-action@v1.0.3
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 0b18523

Please # to comment.