Fix formatting and add cleanup step
This commit is contained in:
@@ -65,14 +65,14 @@ jobs:
|
||||
scp "${ISO_PATH}" \
|
||||
radiantwave-infra:/mnt/infrastructure_data/files/images/"${ISO_NAME}"
|
||||
|
||||
- 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 dev" || echo "Nothing to commit"
|
||||
git push
|
||||
- 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 dev" || echo "Nothing to commit"
|
||||
git push
|
||||
|
||||
- name: Notify
|
||||
if: always()
|
||||
@@ -86,3 +86,8 @@ jobs:
|
||||
to: nclack@radiantwavetech.com
|
||||
from: ci@radiantwavetech.com
|
||||
body: "KioskConfig dev build ${{ job.status }} — radiantwave-dev updated and arstifacts copied to /ssd/radiantwave/build/"
|
||||
|
||||
- name: Cleanup
|
||||
run: |
|
||||
rm -rf /home/runner/radiantwave/*
|
||||
echo "Deleted all files in /home/runner/radiantwave/"
|
||||
|
||||
Reference in New Issue
Block a user