fix: tolerate empty archive globs; clone dispatched ref in dev workflow
This commit is contained in:
@@ -9,7 +9,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: git clone --depth 1 ssh://git@gitea.radiantwavetech.com:2222/RadiantWaveTech/KioskConfig.git .
|
run: git clone --depth 1 --branch "${GITEA_REF_NAME}" ssh://git@gitea.radiantwavetech.com:2222/RadiantWaveTech/KioskConfig.git .
|
||||||
|
|
||||||
# flake.lock is updated manually (committing an updated lock is the
|
# flake.lock is updated manually (committing an updated lock is the
|
||||||
# release trigger); CI only builds what is checked in.
|
# release trigger); CI only builds what is checked in.
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Move old dev images to archive
|
- name: Move old dev images to archive
|
||||||
run: |
|
run: |
|
||||||
ssh nclack@157.245.124.103 'mv /mnt/infrastructure_data/files/images/radiantwave-kiosk-dev* /mnt/infrastructure_data/files/images/archives/'
|
ssh nclack@157.245.124.103 'find /mnt/infrastructure_data/files/images -maxdepth 1 -name "radiantwave-kiosk-dev*" -exec mv {} /mnt/infrastructure_data/files/images/archives/ ;'
|
||||||
|
|
||||||
- name: Copy kiosk ISO to fileserver
|
- name: Copy kiosk ISO to fileserver
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Move old Raspberry Pi images to archive
|
- name: Move old Raspberry Pi images to archive
|
||||||
run: |
|
run: |
|
||||||
ssh nclack@157.245.124.103 'mv /mnt/infrastructure_data/files/images/radiantwave-rpi* /mnt/infrastructure_data/files/images/archives/'
|
ssh nclack@157.245.124.103 'find /mnt/infrastructure_data/files/images -maxdepth 1 -name "radiantwave-rpi*" -exec mv {} /mnt/infrastructure_data/files/images/archives/ ;'
|
||||||
|
|
||||||
- name: Copy Raspberry Pi image to fileserver
|
- name: Copy Raspberry Pi image to fileserver
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user