We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7c1064 + 5d49395 commit 53f995cCopy full SHA for 53f995c
.github/workflows/preview.yml
@@ -36,6 +36,15 @@ jobs:
36
fi
37
echo "id=${pr}" >> $GITHUB_OUTPUT
38
rm -f pr-id.txt
39
+ - name: Reduce the size of the website to be compatible with surge
40
+ run: |
41
+ find assets/images/posts/ -mindepth 1 -maxdepth 1 -type d -mtime +100 -exec rm -rf ./{} \;
42
+ find newsletter/ -mindepth 1 -maxdepth 1 -type d -mtime +100 -exec rm -rf ./{} \;
43
+ rm -rf ./assets/stickers
44
+ rm -rf ./assets/images/worldtour/2023
45
+ rm -rf ./assets/images/worldtour/2024
46
+ rm -rf ./assets/images/desktopwallpapers
47
+ rm -rf ./assets/images/stickers
48
- name: Publishing to surge for preview
49
id: deploy
50
run: npx [email protected] ./ --domain https://quarkus-site-pr-${PR_ID}-preview.surge.sh --token ${{ secrets.SURGE_TOKEN }}
0 commit comments