Skip to content

Commit

Permalink
fix cloud smith upload to cd into dist
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Nov 18, 2022
1 parent 7924082 commit 688aa85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/setup-python@v4
- run: pip install --upgrade cloudsmith-cli
- name: Publish to CloudSmith
run: sh upload_to_cloudsmith.sh
run: sh cli/upload_to_cloudsmith.sh
env:
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}

1 change: 1 addition & 0 deletions upload_to_cloudsmith.sh → cli/upload_to_cloudsmith.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cd dist
for i in *.apk; do
[ -f "$i" ] || break
cloudsmith push alpine infisical/infisical-cli/alpine/any-version $i
Expand Down

0 comments on commit 688aa85

Please sign in to comment.