Skip to content

Commit

Permalink
Offer uncompressed ISO and ISO images for VMs (#344)
Browse files Browse the repository at this point in the history
* Offer uncompressed ISO and ISO images for VMs

* CI | Support forward slashes in branch name

* Minify SVG and solve SVG checker in same turn

* Fix signature link
  • Loading branch information
MichaIng authored Nov 16, 2024
1 parent fdc922d commit cc6214a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 30 deletions.
7 changes: 5 additions & 2 deletions deploy.bash
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@ fi
# Main
G_EXEC cd /tmp
G_EXEC curl -sSfLO "https://github.com/$OWNER/DietPi-Website/archive/$BRANCH.tar.gz"
G_EXEC tar xf "$BRANCH.tar.gz"
G_EXEC rm "$BRANCH.tar.gz"
# - Support forward slashes in branch name
G_EXEC tar xf "${BRANCH##*/}.tar.gz"
G_EXEC rm "${BRANCH##*/}.tar.gz"
# - GitHub replaces forward slashes with dashes for dir names
BRANCH=${BRANCH//\//-}
G_EXEC cd "DietPi-Website-$BRANCH"
# Cleanup
[[ $GITHUB_ACTIONS ]] || G_EXEC rm -R README.md LICENSE deploy.bash .??*
Expand Down
22 changes: 1 addition & 21 deletions images/dietpi-software/forgejo-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit cc6214a

Please sign in to comment.