Skip to content

Commit

Permalink
fix(ci): pass needed token
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Apr 8, 2022
1 parent 8d94dba commit 612c5fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: Kong/kongponents/.github/workflows/test.yml@beta
# Must pass in secrets here so that the calling workflow can pass in the NPM_TOKEN needed to install private packages.
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

publish:
needs: run-tests
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches: [beta]
# Allow workflow to be called by another workflow
workflow_call:
# Must define secrets here so that the calling workflow can pass in the NPM_TOKEN needed to install private packages.
secrets:
PERCY_TOKEN:
description: 'The PERCY_TOKEN passed from the caller workflow as it is not available within workflow_call.'
required: true
# Allow workflow to be called manually
workflow_dispatch:

Expand Down

0 comments on commit 612c5fa

Please sign in to comment.