Skip to content

Commit

Permalink
Merge pull request #19 from contentstack/action-env-fix
Browse files Browse the repository at this point in the history
Updated the workflow
  • Loading branch information
praveen-mohan-cs authored Aug 27, 2024
2 parents 99696f3 + 548e9c0 commit 4b811e4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ jobs:
node-version: 18
- run: npm ci
- run: npm test
env:
TOKEN: ${{secrets.TOKEN}}
TOKEN_WITH_NO_CT: ${{secrets.TOKEN_WITH_NO_CT}}
APIKEY: ${{secrets.APIKEY}}
APIKEY_WITH_NO_CT: ${{secrets.APIKEY_WITH_NO_CT}}
ENVIRONMENT: ${{secrets.ENVIRONMENT}}
REGION: ${{secrets.REGION}}
TOKENTYPE: ${{secrets.TOKENTYPE}}
BRANCH: ${{secrets.BRANCH}}

publish-gpr:
needs: build
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ jobs:
node-version: 18
- run: npm ci
- run: npm test
env:
TOKEN: ${{secrets.TOKEN}}
TOKEN_WITH_NO_CT: ${{secrets.TOKEN_WITH_NO_CT}}
APIKEY: ${{secrets.APIKEY}}
APIKEY_WITH_NO_CT: ${{secrets.APIKEY_WITH_NO_CT}}
ENVIRONMENT: ${{secrets.ENVIRONMENT}}
REGION: ${{secrets.REGION}}
TOKENTYPE: ${{secrets.TOKENTYPE}}
BRANCH: ${{secrets.BRANCH}}

publish-npm:
needs: build
Expand Down

0 comments on commit 4b811e4

Please sign in to comment.