Updated the example template "create-app" to include defaultBranch: 'main' when publishing to github

Signed-off-by: David Söderlund <ds@dsoderlund.consulting>
This commit is contained in:
David Söderlund
2025-04-05 22:02:47 +02:00
parent 7bbd08b3e8
commit c0bb4b9c92
@@ -48,6 +48,8 @@ spec:
name: ${{ parameters.name }}
# This step publishes the contents of the working directory to GitHub.
# If you or your organization prefer another default branch name over 'main'
# you can change that here.
- id: publish
name: Publish
action: publish:github
@@ -55,6 +57,7 @@ spec:
allowedHosts: ['github.com']
description: This is ${{ parameters.name }}
repoUrl: ${{ parameters.repoUrl }}
defaultBranch: 'main'
# The final step is to register our new component in the catalog.
- id: register