pull in sample repo

This commit is contained in:
John Hess 2025-02-18 12:16:25 -06:00
parent 8912b3604c
commit 8d71a78876

View file

@ -46,8 +46,14 @@ pages:
# Get the latest build of the FDroid PWA for butter # Get the latest build of the FDroid PWA for butter
- curl https://likebutter.gitlab.io/fdroid-webdash-butter/public.zip -o fdroid-webdash-butter.zip - curl https://likebutter.gitlab.io/fdroid-webdash-butter/public.zip -o fdroid-webdash-butter.zip
- unzip fdroid-webdash-butter.zip - unzip fdroid-webdash-butter.zip
- mkdir -p usb-butter/appstore
- mv build/web/* usb-butter/appstore - mv build/web/* usb-butter/appstore
# TODO: Place a sample app store here - rm -rf build
- rm -f fdroid-webdash-butter.zip
# Get a sample app store, the same one we refer to in documentation
- curl -L "https://www.dropbox.com/scl/fi/r6dpqa9ugli0v23ox3ho5/repo.zip?rlkey=oxc50ne9runw1bkb1fm3zy5r3&dl=1" -o repo.zip
- unzip repo.zip
- mv repo usb-butter/appstore/fdroid
- "sed -i 's/^baseurl.*/baseurl: \"\\/butter-box-ui\"/' _config.yml" - "sed -i 's/^baseurl.*/baseurl: \"\\/butter-box-ui\"/' _config.yml"
- "sed -i 's/^usb_butter_url.*/usb_butter_url: \"\\/butter-box-ui\\/usb-butter\\/\"/' _config.yml" - "sed -i 's/^usb_butter_url.*/usb_butter_url: \"\\/butter-box-ui\\/usb-butter\\/\"/' _config.yml"
- bundle exec jekyll build -d public - bundle exec jekyll build -d public