File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments