diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fdb248a..3732e5d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,8 +46,14 @@ pages: # 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 - unzip fdroid-webdash-butter.zip + - mkdir -p 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/^usb_butter_url.*/usb_butter_url: \"\\/butter-box-ui\\/usb-butter\\/\"/' _config.yml" - bundle exec jekyll build -d public