Skip to content

Commit

Permalink
Merge pull request #16 from LayerTwo-Labs/ash/ci
Browse files Browse the repository at this point in the history
upload to releases.drivechain.info
  • Loading branch information
psztorc authored Apr 6, 2024
2 parents 8ba48d3 + dc43325 commit 88d4b7e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,29 @@ jobs:
path: |
src/zsided
src/zside-cli
upload-artifacts-to-releases-drivechain-info:
name: Upload artifacts to releases.drivechain.info
runs-on: ubuntu-latest
needs: [build-linux, build-macos]
if: github.repository_owner == 'LayerTwo-Labs'
steps:
- name: Download artifacts
uses: actions/download-artifact@v4

- name: Zip artifacts
run: |
mv binaries-Linux zside-latest-linux
zip -r zside-latest-linux.zip zside-latest-linux
mv binaries-macOS zside-latest-macos
zip -r zside-latest-macOS.zip zside-latest-macos
- name: Upload artifacts to releases.drivechain.info
uses: cross-the-world/ssh-scp-ssh-pipelines@latest
with:
host: 45.33.96.47
user: root
pass: ${{ secrets.RELEASES_SERVER_PW }}
port: 22
scp: |
'zside-latest-*.zip' => '/var/www/html/'

0 comments on commit 88d4b7e

Please sign in to comment.