Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ jobs:
fi
echo "id=${pr}" >> $GITHUB_OUTPUT
rm -f pr-id.txt
- name: Reduce the size of the website to be compatible with surge
run: |
find assets/images/posts/ -mindepth 1 -maxdepth 1 -type d -mtime +100 -exec rm -rf ./{} \;
find newsletter/ -mindepth 1 -maxdepth 1 -type d -mtime +100 -exec rm -rf ./{} \;
rm -rf ./assets/stickers
rm -rf ./assets/images/worldtour/2023
rm -rf ./assets/images/worldtour/2024
rm -rf ./assets/images/desktopwallpapers
rm -rf ./assets/images/stickers
- name: Publishing to surge for preview
id: deploy
run: npx [email protected] ./ --domain https://quarkus-site-pr-${PR_ID}-preview.surge.sh --token ${{ secrets.SURGE_TOKEN }}
Expand Down
Loading