Add cleanup command for fileserver
This commit is contained in:
@@ -33,6 +33,10 @@ jobs:
|
||||
cp -L result/iso/*.iso "/home/user/radiantwave/${FILENAME}"
|
||||
echo "KIOSK_ISO_FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Move old dev images to archive
|
||||
run: |
|
||||
ssh nclack@157.245.124.103 'mv /mnt/infrastructure_data/files/images/radiantwave-kiosk-dev* /mnt/infrastructure_data/files/images/archives/'
|
||||
|
||||
- name: Copy kiosk ISO to fileserver
|
||||
run: |
|
||||
scp "/home/user/radiantwave/${KIOSK_ISO_FILENAME}" \
|
||||
@@ -40,13 +44,3 @@ jobs:
|
||||
|
||||
- name: Cleanup kiosk ISO
|
||||
run: rm -f "/home/user/radiantwave/${KIOSK_ISO_FILENAME}"
|
||||
|
||||
- name: Commit updated flake.lock
|
||||
run: |
|
||||
git config user.email "ci@radiantwavetech.com"
|
||||
git config user.name "RadiantWave CI"
|
||||
git remote set-url origin https://oauth2:${{ secrets.GIT_TOKEN }}@gitea.radiantwavetech.com/RadiantWaveTech/kioskconfig.git
|
||||
|
||||
git add flake.lock
|
||||
git commit -m "chore: update radiantwave-dev to latest" || echo "Nothing to commit"
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user