Skip to content

Commit

Permalink
use zip file 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 d7cabbe commit 3e40eb0
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 @@ -180,6 +180,15 @@ jobs:
with:
tag: ${{ github.ref_name }}

- name: Create zip files for releases.drivechain.info
run: |
mv bitassets-*-x86_64-apple-darwin bitassets-latest-x86_64-apple-darwin
zip L2-S4-BitAssets-latest-x86_64-apple-darwin.zip bitassets-latest-x86_64-apple-darwin
mv bitassets-*-x86_64-pc-windows-gnu.exe bitassets-latest-x86_64-pc-windows-gnu.exe
zip L2-S4-BitAssets-latest-x86_64-pc-windows-gnu.zip bitassets-latest-x86_64-pc-windows-gnu.exe
mv bitassets-*-x86_64-unknown-linux-gnu bitassets-latest-x86_64-unknown-linux-gnu
zip L2-S4-BitAssets-latest-x86_64-unknown-linux-gnu.zip bitassets-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 @@ -188,6 +197,4 @@ jobs:
pass: ${{ secrets.RELEASES_SERVER_PW }}
port: 22
scp: |
'bitassets-*-x86_64-apple-darwin' => '/var/www/html/L2-BitAssets-latest-x86_64-apple-darwin'
'bitassets-*-x86_64-pc-windows-gnu.exe' => '/var/www/html/L2-BitAssets-latest-x86_64-pc-windows-gnu.exe'
'bitassets-*-x86_64-unknown-linux-gnu' => '/var/www/html/L2-BitAssets-latest-x86_64-unknown-linux-gnu'
'L2-S4-BitAssets-latest-*.zip' => '/var/www/html/'

0 comments on commit 3e40eb0

Please sign in to comment.