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
@ -120,6 +120,25 @@ jobs:
|
|||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get install jq -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
|
- name: Get Release Notes HTML
|
||||||
id: release_notes
|
id: release_notes
|
||||||
run: echo "release_html=$(jq -r --arg version "${{ needs.update_packages.outputs.version }}" '.["desktop-release-notes." + $version]' ./dist/release_notes.json)" >> $GITHUB_OUTPUT
|
run: echo "release_html=$(jq -r --arg version "${{ needs.update_packages.outputs.version }}" '.["desktop-release-notes." + $version]' ./dist/release_notes.json)" >> $GITHUB_OUTPUT
|
||||||
|
Loading…
Reference in New Issue
Block a user