serve .zip
This commit is contained in:
parent
34fb08d15d
commit
6380723fbe
1 changed files with 5 additions and 1 deletions
|
|
@ -24,14 +24,18 @@ pages:
|
||||||
- apt-get install -y zip
|
- apt-get install -y zip
|
||||||
- bundle exec jekyll build -d public
|
- bundle exec jekyll build -d public
|
||||||
- cd public
|
- cd public
|
||||||
|
# Make a deployable zip based on this build.
|
||||||
- zip -r ../site.zip ./
|
- zip -r ../site.zip ./
|
||||||
- mv ../site.zip ./site.zip
|
|
||||||
# Now go build the site we actually want to deploy.
|
# Now go build the site we actually want to deploy.
|
||||||
- cd ..
|
- cd ..
|
||||||
# simulate the drive being inserted
|
# simulate the drive being inserted
|
||||||
- mv simulated-usb-butter usb-butter
|
- mv simulated-usb-butter usb-butter
|
||||||
- "sed -i 's/^baseurl.*/baseurl: \"\\/butter-box-ui\"/' _config.yml"
|
- "sed -i 's/^baseurl.*/baseurl: \"\\/butter-box-ui\"/' _config.yml"
|
||||||
- bundle exec jekyll build -d public
|
- 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:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue