Skip to content

Commit

Permalink
[ci] Fixes serving publish for awscurl release version (#3411)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu authored Aug 14, 2024
1 parent a30355e commit 9714bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/serving_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Copy awscurl staging artifacts to S3
if: ${{ github.event.inputs.mode == 'staging' }}
run: |
./gradlew :awscurl:jar
./gradlew :awscurl:jar -Pstaging
DJL_VERSION=$(awk -F '=' '/djl / {gsub(/ ?"/, "", $2); print $2}' gradle/libs.versions.toml)
aws s3 cp awscurl/build/awscurl s3://djl-ai/publish/awscurl/${DJL_VERSION}/
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/awscurl/${DJL_VERSION}/*"
Expand Down

0 comments on commit 9714bed

Please sign in to comment.