mirror of
https://github.com/gotson/komga.git
synced 2025-12-07 17:13:59 +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'
|
description: 'Create Github Release'
|
||||||
default: true
|
default: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
conveyor-copied-site:
|
||||||
|
description: 'Conveyor copied site'
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
docker_release:
|
docker_release:
|
||||||
description: 'Push Docker images'
|
description: 'Push Docker images'
|
||||||
default: true
|
default: true
|
||||||
|
|
@ -163,7 +167,7 @@ jobs:
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
|
|
||||||
- name: Retrieve the Apple private key and decode it to a file
|
- 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:
|
env:
|
||||||
APPLE_PRIVATE_KEY: ${{ secrets.APPLE_PRIVATE_KEY }}
|
APPLE_PRIVATE_KEY: ${{ secrets.APPLE_PRIVATE_KEY }}
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -172,7 +176,7 @@ jobs:
|
||||||
|
|
||||||
- name: Conveyor make copied-site
|
- name: Conveyor make copied-site
|
||||||
uses: hydraulic-software/conveyor/actions/build@v13.0
|
uses: hydraulic-software/conveyor/actions/build@v13.0
|
||||||
if: inputs.github_release
|
if: inputs.conveyor-copied-site
|
||||||
with:
|
with:
|
||||||
command: --cache-limit=2.0 -f conveyor.ci.conf make copied-site -o ./output/site
|
command: --cache-limit=2.0 -f conveyor.ci.conf make copied-site -o ./output/site
|
||||||
signing_key: ${{ secrets.CONVEYOR_SIGNING_KEY }}
|
signing_key: ${{ secrets.CONVEYOR_SIGNING_KEY }}
|
||||||
|
|
@ -185,7 +189,7 @@ jobs:
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.B2_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.B2_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.B2_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.B2_SECRET_ACCESS_KEY }}
|
||||||
- name: Upload Conveyor log
|
- name: Upload Conveyor log
|
||||||
if: always() && inputs.github_release
|
if: always() && inputs.conveyor-copied-site
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: conveyor-make-copied-site
|
name: conveyor-make-copied-site
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue