Skip to content

Commit 9efe593

Browse files
Clean up config file
- Update doc blocks - Remove unused config variable
1 parent a2526ff commit 9efe593

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ NOVA_PUBLISH_PRIVATE_KEY="your GitHub App private key"
8484
NOVA_PUBLISH_APPLICATION_ID="your GitHub App ID"
8585
NOVA_PUBLISH_OWNER="your GitHub owner"
8686
NOVA_PUBLISH_REPOSITORY="your GitHub repository"
87+
NOVA_PUBLISH_WORKFLOW="workflow-file.yml"
8788
```
8889

8990
## i18n

config/publish.php

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,14 @@
2626

2727
/*
2828
|--------------------------------------------------------------------------
29-
| GitHub workflow path
29+
| GitHub workflow
3030
|--------------------------------------------------------------------------
3131
|
32-
| The endpoint of the workflow used by the GitHub API calls. For example:
33-
| https://api.github.com/repos/vendor/project/actions/workflows/some-workflow.yml
34-
|
35-
| Replace "vendor", "project" and "some-workflow":
36-
| https://api.github.com/repos/grrr-amsterdam/nova-publish/actions/workflows/my-workflow_dispatch-workflow.yml
32+
| The name of the workflow file. For example: some-workflow.yml
3733
|
3834
*/
3935
"workflow" => env("NOVA_PUBLISH_WORKFLOW"),
4036

41-
/*
42-
|--------------------------------------------------------------------------
43-
| Workflow inputs
44-
|--------------------------------------------------------------------------
45-
|
46-
| Inputs for the workflow. The inputs must be defined in the workflow file:
47-
| https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onworkflow_dispatchinputs
48-
|
49-
| An example:
50-
| ['environment' => env('APP_ENV')]
51-
|
52-
*/
53-
"workflow_inputs" => [],
54-
5537
/*
5638
|--------------------------------------------------------------------------
5739
| Git ref to publish

0 commit comments

Comments
 (0)