mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +01:00
ci(release): more knobs to handle broken releases
This commit is contained in:
parent
d3b5d72225
commit
e730b74a93
1 changed files with 7 additions and 3 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
|
@ -22,6 +22,10 @@ on:
|
|||
description: 'Create Github Release'
|
||||
default: true
|
||||
type: boolean
|
||||
conveyor-copied-site:
|
||||
description: 'Conveyor copied site'
|
||||
default: true
|
||||
type: boolean
|
||||
docker_release:
|
||||
description: 'Push Docker images'
|
||||
default: true
|
||||
|
|
@ -163,7 +167,7 @@ jobs:
|
|||
default_author: github_actions
|
||||
|
||||
- name: Retrieve the Apple private key and decode it to a file
|
||||
if: inputs.github_release
|
||||
if: inputs.github_release || inputs.conveyor-copied-site
|
||||
env:
|
||||
APPLE_PRIVATE_KEY: ${{ secrets.APPLE_PRIVATE_KEY }}
|
||||
run: |
|
||||
|
|
@ -172,7 +176,7 @@ jobs:
|
|||
|
||||
- name: Conveyor make copied-site
|
||||
uses: hydraulic-software/conveyor/actions/build@v13.0
|
||||
if: inputs.github_release
|
||||
if: inputs.conveyor-copied-site
|
||||
with:
|
||||
command: --cache-limit=2.0 -f conveyor.ci.conf make copied-site -o ./output/site
|
||||
signing_key: ${{ secrets.CONVEYOR_SIGNING_KEY }}
|
||||
|
|
@ -185,7 +189,7 @@ jobs:
|
|||
AWS_ACCESS_KEY_ID: ${{ secrets.B2_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.B2_SECRET_ACCESS_KEY }}
|
||||
- name: Upload Conveyor log
|
||||
if: always() && inputs.github_release
|
||||
if: always() && inputs.conveyor-copied-site
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: conveyor-make-copied-site
|
||||
|
|
|
|||
Loading…
Reference in a new issue