Upload stable to distribution too

This commit is contained in:
Igor Pecovnik
2024-01-12 09:11:03 +01:00
parent 2e1c2e709d
commit dc56e3820c

View File

@@ -173,7 +173,7 @@ jobs: # <TEMPLATE-IGNORE>
#if: ${{ github.repository_owner == 'Armbian' && github.event.inputs.release != 'stable' }}
#if: ${{ inputs.release != 'stable' && github.event.inputs.uploadtoserver != 'yes' }}
#if: (${{ github.event.inputs.uploadtoserver || [[uploadtoserverDefaults]] }} == 'github') || (${{ github.event.inputs.uploadtoserver || [[uploadtoserverDefaults]] }} == 'both')
if: ${{ ( github.event.inputs.nightlybuild || [[nightlybuildDefaults]] ) == 'yes' || env.RELEASE_REPOSITORY == 'community' }}
if: ${{ ( github.event.inputs.nightlybuild || [[nightlybuildDefaults]] ) == 'yes' || env.RELEASE_REPOSITORY == 'community' || env.RELEASE_REPOSITORY == 'distribution' }}
uses: ncipollo/release-action@v1
with:
repo: "${{ env.RELEASE_REPOSITORY }}"