Fix formatting and add cleanup step
This commit is contained in:
@@ -65,14 +65,14 @@ jobs:
|
|||||||
scp "${ISO_PATH}" \
|
scp "${ISO_PATH}" \
|
||||||
radiantwave-infra:/mnt/infrastructure_data/files/images/"${ISO_NAME}"
|
radiantwave-infra:/mnt/infrastructure_data/files/images/"${ISO_NAME}"
|
||||||
|
|
||||||
- name: Commit updated flake.lock
|
- name: Commit updated flake.lock
|
||||||
run: |
|
run: |
|
||||||
git config user.email "ci@radiantwavetech.com"
|
git config user.email "ci@radiantwavetech.com"
|
||||||
git config user.name "RadiantWave CI"
|
git config user.name "RadiantWave CI"
|
||||||
git remote set-url origin https://oauth2:${{ secrets.GIT_TOKEN }}@gitea.radiantwavetech.com/RadiantWaveTech/KioskConfig.git
|
git remote set-url origin https://oauth2:${{ secrets.GIT_TOKEN }}@gitea.radiantwavetech.com/RadiantWaveTech/KioskConfig.git
|
||||||
git add flake.lock
|
git add flake.lock
|
||||||
git commit -m "chore: update radiantwave-dev to latest dev" || echo "Nothing to commit"
|
git commit -m "chore: update radiantwave-dev to latest dev" || echo "Nothing to commit"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
- name: Notify
|
- name: Notify
|
||||||
if: always()
|
if: always()
|
||||||
@@ -86,3 +86,8 @@ jobs:
|
|||||||
to: nclack@radiantwavetech.com
|
to: nclack@radiantwavetech.com
|
||||||
from: ci@radiantwavetech.com
|
from: ci@radiantwavetech.com
|
||||||
body: "KioskConfig dev build ${{ job.status }} — radiantwave-dev updated and arstifacts copied to /ssd/radiantwave/build/"
|
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