CI: deploy before artifact upload, upload not fatal
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
56375f6d7d
commit
7e9db313f7
1 changed files with 10 additions and 8 deletions
|
|
@ -63,14 +63,6 @@ jobs:
|
|||
bash build/build-image.sh
|
||||
echo "Built version ${KIOSK_VERSION}"
|
||||
ls -lh dist/
|
||||
- uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: alpine-kiosk-${{ github.run_number }}
|
||||
path: |
|
||||
dist/alpine-kiosk-*.tar.gz
|
||||
dist/alpine-kiosk-*.raucb
|
||||
dist/latest.json
|
||||
retention-days: 30
|
||||
- name: Deploy release (stable on default branch, beta on develop)
|
||||
if: github.ref_type == 'branch' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'develop')
|
||||
env:
|
||||
|
|
@ -89,6 +81,16 @@ jobs:
|
|||
else
|
||||
rclone copy dist/ "minio:${MINIO_BUCKET}/"
|
||||
fi
|
||||
# the ~1.3 GB artifact often fails to finalize on this Forgejo (merge chunks timeout): not fatal, the release is deployed above
|
||||
- uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
continue-on-error: true
|
||||
with:
|
||||
name: alpine-kiosk-${{ github.run_number }}
|
||||
path: |
|
||||
dist/alpine-kiosk-*.tar.gz
|
||||
dist/alpine-kiosk-*.raucb
|
||||
dist/latest.json
|
||||
retention-days: 30
|
||||
|
||||
# Renovate bridge for the vendored AMweb.zip: the vendor only changes ETag headers, Renovate reads
|
||||
# response bodies only. Republish the ETag as JSON on our bucket (see build/build-image.sh AMWEB_VERSION).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue