Skip to content

Commit

Permalink
Update build-binaries.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Jul 3, 2024
1 parent 2af6cea commit 99bdce4
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,10 @@ jobs:
dpkg-deb --build infisical-standalone
mv infisical-standalone.deb infisical-linux-${{ matrix.arch }}.deb
- name: Upload to Cloudsmith
- uses: actions/setup-python@v4
- run: pip install --upgrade cloudsmith-cli

- name: Publish to Cloudsmith (Linux)
working-directory: ./backend
if: matrix.os == 'linux'
uses: cloudsmith-io/action@v0.5.0
with:
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
command: "push"
format: "deb"
owner: "your-cloudsmith-org"
repo: "your-cloudsmith-repo"
distro: "any-distro"
release: "any-release"
republish: "true"
file: infisical-linux-${{ matrix.arch }}.deb
run: cloudsmith push deb infisical/infisical-standalone/any-distro/any-version infisical-linux-${{ matrix.arch }}.deb --republish --no-wait-for-sync --version 3.0.0 --api-key ${{ secrets.CLOUDSMITH_API_KEY }}

0 comments on commit 99bdce4

Please sign in to comment.