diff --git a/README.md b/README.md index 2877fe7..48d207b 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ This site is built with [CollectionBuilder-CSV](https://collectionbuilder.github **How it works:** - A cron job runs every minute checking for new commits - When changes are detected, it pulls and rebuilds the site +- Deployment status is logged with commit details and success/fail indicators - Takes ~10-30 seconds to build and deploy **Usage:** @@ -50,7 +51,7 @@ git add . git commit -m "Update collection metadata" git push gitea main -# Wait ~1 minute, site is live! +# Wait ~1 minute, check logs to confirm deployment ``` #### 2. Manual SSH Deploy 🔧 @@ -109,9 +110,10 @@ exit 2. Cron runs `auto-pull.sh` every minute 3. Script checks: "Is local code different from Gitea?" 4. If yes: pulls new code and runs `deploy.sh` -5. `deploy.sh` runs `bundle exec rake deploy` (builds site) +5. `deploy.sh` runs `/usr/local/bin/bundle exec rake deploy` (builds site) 6. Built site is synced to `/var/www/my_webapp/www/` (live directory) -7. Site is live! +7. Deployment status logged with ✅ or ❌ indicator +8. Site is live! **Why this approach?** - No PHP required (keeps site purely static)