From 70131b40a5f7b5cc5a739c0f68e2692e89b5dcaf Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Wed, 25 Jun 2025 13:00:31 -0700 Subject: [PATCH] Now publishes on commit to main branch --- .gitlab-ci.yml | 4 ++-- README.md | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 19e18f9..6dc9de8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,7 @@ build_site: # Define when this job runs (e.g., only on the main branch) # Adjust 'only' or 'rules' as needed for your workflow only: - - publish # the script will only run on the branch 'publish' + - main # the script will only run on the branch 'main' # Job to deploy the built site using cloudron-surfer deploy_site: @@ -58,5 +58,5 @@ deploy_site: public/* / - echo "Deployment completed successfully" only: - - publish # Example: Run only on the main branch + - main # Example: Run only on the main branch diff --git a/README.md b/README.md index e3f5bb3..6e72cb6 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,8 @@ The site documents case studies, legal snippets, and resources related to "Exit 4. Visit http://localhost:1313 ### Deployment -Set up deployment following: https://git.medlab.host/dhorn/medlab-hugo-template + +To deploy changes, simply push them to the `main` branch and they should automatically publish. ## External Dependencies - Hugo static site generator @@ -81,4 +82,4 @@ Set up deployment following: https://git.medlab.host/dhorn/medlab-hugo-template - Content updates should maintain the clean YAML structure - New case studies should follow the established pattern with logos - Consider adding search functionality if the content grows significantly -- Form submissions need backend integration for actual processing \ No newline at end of file +- Form submissions need backend integration for actual processing