Skip to content

Commit

Permalink
[CI] Upload Linux 6.1 packages with suffix
Browse files Browse the repository at this point in the history
until we fully migrate all VisionFive 2 systems.

Signed-off-by: MichaIng <[email protected]>
  • Loading branch information
MichaIng committed Sep 27, 2023
1 parent 861d93a commit 7dc695d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/visionfive2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
umask 377
echo '${{ secrets.KNOWN_HOSTS }}' > ~/.ssh/known_hosts
echo '${{ secrets.SSH_KEY }}' > ~/.ssh/id_ed25519
curl -T 'linux-image-visionfive2.deb' --key ~/.ssh/id_ed25519 '${{ secrets.UPLOAD_URL }}all/'
mv linux-image-visionfive2.deb linux-image-visionfive2_6.1.deb
curl -T 'linux-image-visionfive2_6.1.deb' --key ~/.ssh/id_ed25519 '${{ secrets.UPLOAD_URL }}all/'
curl 'https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE }}/purge_cache' -H 'Authorization: Bearer ${{ secrets.CF_TOKEN }}' -H 'Content-Type: application/json' \
--data '{"files":["https://dietpi.com/downloads/binaries/testing/","https://dietpi.com/downloads/binaries/testing/linux-image-visionfive2.deb"]}'
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# Normal rules (sorted alphabetically)
#
.*
#.*
*.a
*.asn1.[ch]
*.bin
Expand Down

0 comments on commit 7dc695d

Please sign in to comment.