mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-23 22:22:59 +03:00
Auto update apt repo
This commit is contained in:
parent
36ce4b0894
commit
e1f7f8ab03
19
.github/workflows/update-build-release.yml
vendored
19
.github/workflows/update-build-release.yml
vendored
@ -119,6 +119,25 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install jq -y
|
||||
|
||||
- name: Copy files to APT server
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
host: ${{ secrets.CLOUD_SSH_HOST }}
|
||||
username: ${{ secrets.CLOUD_SSH_USERNAME }}
|
||||
password: ${{ secrets.CLOUD_SSH_PASSWORD }}
|
||||
source: "dist/*.deb"
|
||||
target: ~/apt/repo/deb-packages
|
||||
rm: true
|
||||
strip_components: 1
|
||||
|
||||
- name: Update APT repo
|
||||
uses: appleboy/ssh-action@v1.1.0
|
||||
with:
|
||||
host: ${{ secrets.CLOUD_SSH_HOST }}
|
||||
username: ${{ secrets.CLOUD_SSH_USERNAME }}
|
||||
password: ${{ secrets.CLOUD_SSH_PASSWORD }}
|
||||
script: ~/apt/update-repo.sh ${{ secrets.APT_KEY_PASSPHRASE }}
|
||||
|
||||
- name: Get Release Notes HTML
|
||||
id: release_notes
|
||||
|
Loading…
Reference in New Issue
Block a user