serve .zip

This commit is contained in:
John Hess 2024-06-10 12:06:53 -05:00
parent 34fb08d15d
commit 6380723fbe

View file

@ -24,14 +24,18 @@ pages:
- apt-get install -y zip
- bundle exec jekyll build -d public
- cd public
# Make a deployable zip based on this build.
- zip -r ../site.zip ./
- mv ../site.zip ./site.zip
# Now go build the site we actually want to deploy.
- cd ..
# simulate the drive being inserted
- mv simulated-usb-butter usb-butter
- "sed -i 's/^baseurl.*/baseurl: \"\\/butter-box-ui\"/' _config.yml"
- bundle exec jekyll build -d public
# Now move the zip into the public dir so it gets served.
- mv ../site.zip ./site.zip
- pwd
- ls -la .
artifacts:
paths:
- public