From e69bfcafc7ded7231f8c41a2a36888ddac09ebd4 Mon Sep 17 00:00:00 2001 From: MelchiorKokernoot Date: Fri, 20 Dec 2024 14:48:07 +0100 Subject: [PATCH] fix: use next as default bundle on push --- .github/workflows/release-debian.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-debian.yml b/.github/workflows/release-debian.yml index 08ddd3818..1f2969f1d 100644 --- a/.github/workflows/release-debian.yml +++ b/.github/workflows/release-debian.yml @@ -27,7 +27,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - ref: ${{ inputs.branch }} + ref: ${{ inputs.branch || github.ref }} - name: Set TAG and VERSION id: vars @@ -56,7 +56,7 @@ jobs: run: | docker run --rm \ -e MIX_ENV=$MIX_ENV \ - -e BUNDLE=${{ inputs.bundle }} \ + -e BUNDLE=${{ inputs.bundle || 'next' }} \ -e VERSION=$VERSION \ -v ${{ github.workspace }}:/app \ next-platform:latest \