Skip to content

Commit 2f0f864

Browse files
authored
fix: orion-client deploy broke (#1903)
1 parent dd7a706 commit 2f0f864

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/orion-client-deploy.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,30 @@ jobs:
4444
file target/release/orion || true
4545
file target/release/scorpio || true
4646
47+
- name: Upload build artifacts
48+
uses: actions/upload-artifact@v4
49+
with:
50+
name: orion-scorpio-bins
51+
path: |
52+
target/release/orion
53+
target/release/scorpio
54+
4755
deploy:
4856
if: ${{ github.repository == 'web3infra-foundation/mega' }}
4957
runs-on: ubuntu-latest
5058
needs: build
5159
steps:
60+
- name: Download build artifacts
61+
uses: actions/download-artifact@v4
62+
with:
63+
name: orion-scorpio-bins
64+
path: ./artifacts
65+
5266
- name: Upload binaries via rsync
5367
uses: burnett01/rsync-deployments@master
5468
with:
5569
switches: -avz --progress
56-
path: target/release/orion target/release/scorpio
70+
path: artifacts/orion artifacts/scorpio
5771
remote_path: /root/orion-runner/
5872
remote_host: ${{ secrets.ORION_DEPLOY_HOST }}
5973
remote_user: root

0 commit comments

Comments
 (0)