Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aksrajvanshi committed Mar 18, 2021
1 parent 87a6ee1 commit 76a5941
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nightly_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- name: Copy files to S3 with the AWS CLI
run: bash -c ' if ["${{ github.event.inputs.mode }}" == "snapshot"]; then
run: >
if [${{ github.event.inputs.mode }} == "snapshot"]; then
aws s3 cp serving/build/distributions/serving-0.11.0-SNAPSHOT.tar s3://djl-ai-akshay/publish/djl-serving-${{ github.event.inputs.mode }}/serving-0.11.0-${{ github.event.inputs.mode }}.tar
fi'
fi
# publish:
# if: github.repository == 'aksrajvanshi/djl'
# runs-on: ubuntu-18.04
Expand Down

0 comments on commit 76a5941

Please sign in to comment.