Skip to content

Commit 88580a4

Browse files
authored
Merge pull request #31 from educorvi/develop
ci: change secret for github packages
2 parents f96d59f + 02dcf54 commit 88580a4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build_test_release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,12 @@ jobs:
174174
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
175175
needs: [release]
176176
uses: ./.github/workflows/docker.yml
177+
secrets: inherit
177178
githubPackages:
178179
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
179180
needs: [release]
180181
uses: ./.github/workflows/github_packages.yml
182+
secrets: inherit
181183
deploy:
182184
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
183185
needs: [release]

.github/workflows/github_packages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ jobs:
4848
- name: Publish to NPM
4949
run: node common/scripts/install-run-rush.js publish -p --include-all --version-policy "rita-publish" --set-access-level=public
5050
env:
51-
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}
51+
NODE_AUTH_TOKEN: ${{ secrets.PUBLISH_GITHUB_PACKAGE_TOKEN }}

0 commit comments

Comments
 (0)