forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ozkanonur <[email protected]>
- Loading branch information
1 parent
78d3307
commit 2a77c70
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,20 @@ jobs: | |
echo $VERSION > ./MM_VERSION | ||
cargo build --bin mm2 --profile ci | ||
- name: Activate SSH | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.FILE_SERVER_SSH }} | ||
|
||
- name: Upload build output | ||
run: | | ||
NAME="mm2_$(git rev-parse --short=7 HEAD)-Linux-CI.zip" | ||
zip $NAME target/ci/mm2 -j | ||
mkdir $BRANCH_NAME | ||
mv $NAME ./$BRANCH_NAME/ | ||
scp -r [email protected]:/uploads ./$BRANCH_NAME | ||
- name: Login to dockerhub | ||
if: github.event_name != 'pull_request' | ||
run: docker login --username ${{ secrets.DOCKER_HUB_USERNAME }} --password ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} docker.io | ||
|