chore: improve consistency of all publish action examples

Signed-off-by: Billy Michael <billy_michael@outlook.com>
This commit is contained in:
Billy Michael
2024-04-01 14:25:11 +01:00
parent 2b622ccf70
commit 960408e9de
@@ -20,7 +20,7 @@ import yaml from 'yaml';
export const examples: TemplateExample[] = [
{
description:
'Initializes a git repository of contents in workspace and publish it to GitHub with default configuration.',
'Initializes a git repository of the content in the workspace, and publishes it to Github with the default confiiguration.',
example: yaml.stringify({
steps: [
{
@@ -35,7 +35,7 @@ export const examples: TemplateExample[] = [
}),
},
{
description: 'Add a description.',
description: 'Initializes a Github repository with a description.',
example: yaml.stringify({
steps: [
{
@@ -51,7 +51,8 @@ export const examples: TemplateExample[] = [
}),
},
{
description: 'Change visibility of the repository.',
description:
'Initializes a Github repository with public repo visibility, if not set defaults to private',
example: yaml.stringify({
steps: [
{
@@ -60,7 +61,6 @@ export const examples: TemplateExample[] = [
name: 'Publish to GitHub',
input: {
repoUrl: 'github.com?repo=repo&owner=owner',
description: 'Initialize a git repository',
repoVisibility: 'public',
},
},