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