fix cloud smith upload to cd into dist

This commit is contained in:
Maidul Islam
2022-11-18 00:35:16 -05:00
parent 7924082b70
commit 688aa856ab
2 changed files with 2 additions and 1 deletions

View File

@@ -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 }}

View File

@@ -1,3 +1,4 @@
cd dist
for i in *.apk; do
[ -f "$i" ] || break
cloudsmith push alpine infisical/infisical-cli/alpine/any-version $i