Migrate from Kirby CMS to Hugo with Gokarna theme
- Remove all Kirby/PHP files - Add Hugo config with Gokarna theme as git submodule - Add nginx + Hugo Dockerfile replacing PHP/Apache - Update deploy.php to run hugo after git pull - Update .gitignore for Hugo output Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
14
kirby/entrypoint.sh
Normal file
14
kirby/entrypoint.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Start PHP-FPM
|
||||
PHP_FPM=$(find /usr/sbin -name 'php-fpm*' | head -1)
|
||||
$PHP_FPM
|
||||
|
||||
# Initial Hugo build
|
||||
cd /var/www/html
|
||||
git submodule update --init --recursive
|
||||
hugo
|
||||
|
||||
# Start nginx in foreground
|
||||
nginx -g 'daemon off;'
|
||||
Reference in New Issue
Block a user