Skip to content

Commit

Permalink
Download firmware artifacts and clean up intermediate folders
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Oct 29, 2024
1 parent e5d5df8 commit f3e943a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,21 @@ jobs:
- name: ⬇️ Download documentation artifact
uses: actions/[email protected]
with:
name: site
- name: ⬇️ Download firmware artifacts
uses: actions/[email protected]
with:
name: onju-voice*
path: firmwares
- name: Display firmware artifacts
- name: 🧹 Remove intermediate version folder
run: |-
for d in firmwares/*/*; do
if [ -d "$d" ]; then
mv $d/* $d/../
rm -rf $d
fi
done
- name: 🧪 Display firmware artifacts
run: ls -lR

# deploy:
Expand Down

0 comments on commit f3e943a

Please sign in to comment.