Skip to content

Commit

Permalink
ci(release): more knobs to handle broken releases
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Jan 12, 2024
1 parent d3b5d72 commit e730b74
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand All @@ -172,7 +176,7 @@ jobs:
- name: Conveyor make copied-site
uses: hydraulic-software/conveyor/actions/[email protected]
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 }}
Expand All @@ -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
Expand Down

0 comments on commit e730b74

Please sign in to comment.