Skip to content

Commit

Permalink
fix(ci): Do not publish preview releases to CloudNebula
Browse files Browse the repository at this point in the history
  • Loading branch information
binarybaron committed Nov 14, 2024
1 parent 826217c commit 8388a61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-gui-release-binaries-cb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ env:
CN_APPLICATION: "unstoppableswap/unstoppableswap-gui-rs"

jobs:
draft:
draft-cb-release:
# Do not publish preview releases to CloudNebula
if: ${{ !contains(github.ref_name, 'preview') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -24,7 +26,7 @@ jobs:
api-key: ${{ secrets.CN_API_KEY }}

build:
needs: draft
needs: draft-cb-release
strategy:
fail-fast: false
matrix:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-gui-release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

jobs:
publish-tauri:
if: ${{ !contains(github.ref_name, 'preview') }}
permissions:
contents: write
strategy:
Expand Down

0 comments on commit 8388a61

Please sign in to comment.