From 25bfc0c5eb8cab270d339ef07684b0c32f17342a Mon Sep 17 00:00:00 2001 From: Nimrod Shlagman Date: Wed, 15 Jun 2022 13:44:01 +0300 Subject: [PATCH] fix(cicd): fix env var name (#596) --- .github/workflows/npm-publish-github-packages.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index f291c08f..1565aa51 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -32,4 +32,17 @@ jobs: - run: npm ci - run: npm run semantic-release env: - NODE_AUTH_TOKEN: ${{secrets.GH_TOKEN}} + GH_TOKEN: ${{secrets.GH_TOKEN}} + NPM_TOKEN: ${{secrets.NPM_TOKEN}} + + publish-layers: + needs: publish + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 14 + - run: ./scripts/publish_layers.sh + env: + GH_TOKEN: ${{secrets.GH_TOKEN}} \ No newline at end of file