Now publishes on commit to main branch
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user