Skip to content

Commit 5532c81

Browse files
ci: set deployment token
1 parent 3fb157d commit 5532c81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-and-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Checkout the repository
5151
uses: actions/checkout@v3
5252
with:
53-
persist-credentials: false #In this way semantic release's GITHUB_TOKEN will not interfere with the generated one.
53+
token: ${{ secrets.DEPLOYMENT_TOKEN }}
5454
- name: Setup Node.js
5555
uses: actions/setup-node@v3
5656
with:
@@ -73,4 +73,4 @@ jobs:
7373
)
7474
steps:
7575
- name: Verify that there were no failures
76-
run: ${{ !contains(join(needs.*.result, ','), 'failure') }}
76+
run: ${{ !contains(join(needs.*.result, ','), 'failure') }}

0 commit comments

Comments
 (0)