Skip to content

Commit 1efc9bb

Browse files
committed
Token must be secret
1 parent 4f4cae8 commit 1efc9bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/documentation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ on: # yamllint disable-line rule:truthy
1212
description: "The component to deploy the documentation for"
1313
required: true
1414
type: "string"
15+
secrets:
1516
token:
1617
description: "The token to use to push to the docs repository"
1718
required: true
18-
type: "string"
1919

2020
jobs:
2121
documentation:
@@ -46,7 +46,7 @@ jobs:
4646
uses: "actions/checkout@v6"
4747
with:
4848
repository: "phpDocumentor/docs"
49-
token: "${{ inputs.token }}"
49+
token: "${{ secrets.token }}"
5050
path: "docs"
5151

5252
- name: "Download"
@@ -68,5 +68,5 @@ jobs:
6868
uses: "ad-m/github-push-action@master"
6969
with:
7070
directory: "docs"
71-
github_token: "${{ inputs.token }}"
71+
github_token: "${{ secrets.token }}"
7272
repository: "phpDocumentor/docs"

0 commit comments

Comments
 (0)