Skip to content

Commit

Permalink
use zip files for releases.drivechain.info
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-L2L committed Mar 15, 2024
1 parent 04f86c2 commit 495a7ef
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/check_lint_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,15 @@ jobs:
with:
tag: ${{ github.ref_name }}

- name: Create zip files for releases.drivechain.info
run: |
mv bitnames-*-x86_64-apple-darwin bitnames-latest-x86_64-apple-darwin
zip L2-S2-BitNames-latest-x86_64-apple-darwin.zip bitnames-latest-x86_64-apple-darwin
mv bitnames-*-x86_64-pc-windows-gnu.exe bitnames-latest-x86_64-pc-windows-gnu.exe
zip L2-S2-BitNames-latest-x86_64-pc-windows-gnu.zip bitnames-latest-x86_64-pc-windows-gnu.exe
mv bitnames-*-x86_64-unknown-linux-gnu bitnames-latest-x86_64-unknown-linux-gnu
zip L2-S2-BitNames-latest-x86_64-unknown-linux-gnu.zip bitnames-latest-x86_64-unknown-linux-gnu
- name: Upload release assets to releases.drivechain.info
uses: cross-the-world/ssh-scp-ssh-pipelines@latest
with:
Expand All @@ -189,6 +198,4 @@ jobs:
pass: ${{ secrets.RELEASES_SERVER_PW }}
port: 22
scp: |
'bitnames-*-x86_64-apple-darwin' => '/var/www/html/L2-BitNames-latest-x86_64-apple-darwin'
'bitnames-*-x86_64-pc-windows-gnu.exe' => '/var/www/html/L2-BitNames-latest-x86_64-pc-windows-gnu.exe'
'bitnames-*-x86_64-unknown-linux-gnu' => '/var/www/html/L2-BitNames-latest-x86_64-unknown-linux-gnu'
'L2-S2-BitNames-latest-*.zip' => '/var/www/html/'

0 comments on commit 495a7ef

Please sign in to comment.