Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: ozkanonur <[email protected]>
  • Loading branch information
onur-ozkan committed Mar 20, 2023
1 parent 78d3307 commit 2a77c70
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a77c70

Please sign in to comment.