Skip to content

Commit

Permalink
Update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Zhao committed Nov 4, 2020
1 parent 8143bef commit e8d743e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
sleep 10
for filename in build/libs/*; do curl --data-binary "@$filename" -H "Content-Type: application/java-archive" "https://uploads.github.com/repos/$GITHUB_REPOSITORY/releases/$RELEASE_ID/assets?name=$(basename $filename)&access_token=$GITHUB_TOKEN" ; done
- name: Upload to test server [tag only]
if: github.repository == 'colin-bz/labpipe-server-public' && github.event_name == 'create' && github.event.ref_type == 'tag'
if: github.repository == 'bz-dev/labpipe-server-public' && github.event_name == 'create' && github.event.ref_type == 'tag'
uses: appleboy/scp-action@master
with:
host: ${{secrets.LABPIPE_TEST_HOST}}
Expand All @@ -48,7 +48,7 @@ jobs:
target: "/local/apps/labpipe"
strip_components: 2
- name: Deploy to test server [tag only]
if: github.repository == 'colin-bz/labpipe-server-public' && github.event_name == 'create' && github.event.ref_type == 'tag'
if: github.repository == 'bz-dev/labpipe-server-public' && github.event_name == 'create' && github.event.ref_type == 'tag'
uses: appleboy/ssh-action@master
with:
host: ${{secrets.LABPIPE_TEST_HOST}}
Expand Down

0 comments on commit e8d743e

Please sign in to comment.