diff --git a/.github/workflows/cd-teardown.yml b/.github/workflows/cd-teardown.yml index cdad1b22..9c770ea2 100644 --- a/.github/workflows/cd-teardown.yml +++ b/.github/workflows/cd-teardown.yml @@ -22,9 +22,9 @@ jobs: run: | export EXISTING_TAGS=$(npm dist-tag ls @inrupt/solid-client | grep --count $TAG_SLUG) # Unfortunately GitHub Actions does not currently let us do something like - # if: secrets.NPM_TOKEN != '' + # if: secrets.INRUPT_NPM_TOKEN != '' # so simply skip the command if the env var is not set: if [ -n $NODE_AUTH_TOKEN ] && [ $EXISTING_TAGS -eq 1 ]; then npm dist-tag rm @inrupt/solid-client $TAG_SLUG; fi env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.INRUPT_NPM_TOKEN }} - run: echo "Package tag [$TAG_SLUG] unpublished." diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d1eefd59..7f6520f2 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -89,7 +89,7 @@ jobs: if: github.actor != 'dependabot[bot]' run: | # Unfortunately GitHub Actions does not currently let us do something like - # if: secrets.NPM_TOKEN != '' + # if: secrets.INRUPT_NPM_TOKEN != '' # so simply skip the command if the env var is not set: if [ -z $NODE_AUTH_TOKEN ]; then echo "No npm token defined; package not published."; fi if [ -n $NODE_AUTH_TOKEN ]; then npm publish --access public --tag "$TAG_SLUG"; fi @@ -97,7 +97,7 @@ jobs: if [ -n $NODE_AUTH_TOKEN ]; then echo ""; fi if [ -n $NODE_AUTH_TOKEN ]; then echo " npm install @inrupt/solid-ui-react@$TAG_SLUG"; fi env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.INRUPT_NPM_TOKEN }} TAG_SLUG: ${{ needs.prepare-deployment.outputs.tag-slug }} - name: Mark GitHub Deployment as successful if: github.actor != 'dependabot[bot]' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38b57bb3..2ab4fc1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,7 +62,7 @@ jobs: echo "" echo " npm install @inrupt/solid-ui-react" env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.INRUPT_NPM_TOKEN }} - name: Mark GitHub Deployment as successful uses: octokit/request-action@v2.x with: