diff --git a/.github/workflows/_publish.yaml b/.github/workflows/_publish.yaml index 8db8bf6..2ea09da 100644 --- a/.github/workflows/_publish.yaml +++ b/.github/workflows/_publish.yaml @@ -7,6 +7,9 @@ on: description: 'Package Target' required: true type: string + secrets: + NPM_TOKEN: + required: true jobs: publish: diff --git a/.github/workflows/publish_client.yaml b/.github/workflows/publish_client.yaml index 1015606..7ad3e6b 100644 --- a/.github/workflows/publish_client.yaml +++ b/.github/workflows/publish_client.yaml @@ -11,4 +11,6 @@ jobs: name: Client uses: ./.github/workflows/_publish.yaml with: - target: client \ No newline at end of file + target: client + secrets: + DOTENV_KEY: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/publish_nestjs.yaml b/.github/workflows/publish_nestjs.yaml index 08de6b0..6a0aa00 100644 --- a/.github/workflows/publish_nestjs.yaml +++ b/.github/workflows/publish_nestjs.yaml @@ -11,4 +11,6 @@ jobs: name: NestJS uses: ./.github/workflows/_publish.yaml with: - target: nestjs \ No newline at end of file + target: nestjs + secrets: + DOTENV_KEY: ${{ secrets.NPM_TOKEN }} \ No newline at end of file