Now deploys on main branch commit
This commit is contained in:
@@ -32,7 +32,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:
|
||||
- main # publishes on main branch
|
||||
- main # builds on commit to main branch
|
||||
|
||||
# Job to deploy the built site using cloudron-surfer
|
||||
deploy_site:
|
||||
@@ -63,5 +63,5 @@ deploy_site:
|
||||
# Define when this job runs (e.g., only on the main branch after build)
|
||||
# Adjust 'only' or 'rules' as needed for your workflow
|
||||
only:
|
||||
- publish # Example: Run only on the main branch
|
||||
- main # publishes on commit to main branch
|
||||
|
||||
|
Reference in New Issue
Block a user