Rewrite upload steps action

This commit is contained in:
Maidul Islam
2022-12-05 12:13:52 -05:00
parent 9ee5f3d41b
commit 05a19a2201
@@ -14,13 +14,11 @@ jobs:
uses: azure/setup-helm@v3 uses: azure/setup-helm@v3
with: with:
version: v3.10.0 version: v3.10.0
- name: Build helm package - name: Install python
run: cd helm-charts && helm package ./infisical
uses: helm/[email protected]
- name: Install python and Cloudsmith CLI
uses: actions/setup-python@v4 uses: actions/setup-python@v4
- name: Install Cloudsmith CLI
run: pip install --upgrade cloudsmith-cli run: pip install --upgrade cloudsmith-cli
- name: Push helm package to Cloudsmith - name: Build and push helm package to Cloudsmith
run: cd helm-charts && sh upload-to-cloudsmith.sh run: cd helm-charts && sh upload-to-cloudsmith.sh
env: env:
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }} CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}