Skip to content

Commit 9f79115

Browse files
committed
Don't deploy the site on GitHub pages
After spending way too much time getting GitHub Actions, Parklife, and GitHub Pages to play well together, I've decided to just host the site on our Hatchbox-managed server instead. That took 5 minutes to get running and we even have the option, but admittedly we're not yet running the static version.
1 parent 424d4a4 commit 9f79115

File tree

2 files changed

+3
-69
lines changed

2 files changed

+3
-69
lines changed

.github/workflows/parklife.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

demo/bin/static-build

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ bundle exec rails assets:precompile
2020
# Build with Parklife - and forward arguments sent to this script.
2121
bundle exec parklife build "$@"
2222

23-
# Copy all public resources to ./build.
24-
if [ -d public ]; then
25-
cp -R public/* build
26-
fi
23+
# Copy all built resources to ./public
24+
cp -R build/* public
2725

2826
# List all files in the build (useful for debugging).
29-
find build -type f | sort
27+
find public -type f | sort

0 commit comments

Comments
 (0)