Skip to content

Commit fbe236a

Browse files
authored
Merge pull request #1108 from appwrite/update-node-token-env
chore: update npm publish workflows to use NPM_TOKEN_NO_ORG
2 parents 4ffd037 + 47e6a49 commit fbe236a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

templates/cli/.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
npm publish
4242
fi
4343
env:
44-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
44+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_NO_ORG }}
4545
- uses: fnkr/github-action-ghr@v1
4646
env:
4747
GHR_PATH: build/

templates/node/.github/workflows/publish.yml.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
- name: Publish
4040
run: npm publish --tag ${{ '{{' }} steps.release_tag.outputs.tag {{ '}}' }}
4141
env:
42-
NODE_AUTH_TOKEN: ${{ '{{' }} secrets.NPM_TOKEN {{ '}}' }}
42+
NODE_AUTH_TOKEN: ${{ '{{' }} secrets.NPM_TOKEN_NO_ORG {{ '}}' }}

templates/react-native/.github/workflows/publish.yml.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
- name: Publish
4040
run: npm publish --tag ${{ '{{' }} steps.release_tag.outputs.tag {{ '}}' }}
4141
env:
42-
NODE_AUTH_TOKEN: ${{ '{{' }} secrets.NPM_TOKEN {{ '}}' }}
42+
NODE_AUTH_TOKEN: ${{ '{{' }} secrets.NPM_TOKEN_NO_ORG {{ '}}' }}

templates/web/.github/workflows/publish.yml.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
- name: Publish
4040
run: npm publish --tag ${{ '{{' }} steps.release_tag.outputs.tag {{ '}}' }}
4141
env:
42-
NODE_AUTH_TOKEN: ${{ '{{' }} secrets.NPM_TOKEN {{ '}}' }}
42+
NODE_AUTH_TOKEN: ${{ '{{' }} secrets.NPM_TOKEN_NO_ORG {{ '}}' }}

0 commit comments

Comments
 (0)