Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit c6a21fc

Browse files
BUILD-1751 fix JFrog credentials (#362)
- The "JF_ARTIFACTORY_" prefix is deprecated and to be removed in v3. Use the "JF_ENV_" prefix instead. - Update the secrets for using the team-dedicated ones.
1 parent b211bf1 commit c6a21fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup JFrog CLI
1717
uses: jfrog/setup-jfrog-cli@v2
1818
env:
19-
JF_ARTIFACTORY_1: ${{ secrets.REPOX_CLI_CONFIG_QA_DEPLOYER }}
19+
JF_ENV_1: ${{ secrets.REPOX_CLI_CONFIG_QA_DEPLOYER_LT }}
2020
- uses: actions/checkout@v1
2121
- uses: actions/setup-node@v1
2222
with:
@@ -25,13 +25,13 @@ jobs:
2525
- name: Publish npm package
2626
env:
2727
NPM_TOKEN: ${{ secrets.SONARTECH_NPM_TOKEN }}
28-
REPOX_CLI_CONFIG_BUILD_PROMOTER: ${{ secrets.REPOX_CLI_CONFIG_BUILD_PROMOTER }}
28+
REPOX_CLI_CONFIG_BUILD_PROMOTER_LT: ${{ secrets.REPOX_CLI_CONFIG_BUILD_PROMOTER_LT }}
2929
run: |
3030
jfrog rt npm-config --repo-resolve npm --repo-deploy sonarsource-npm-public-qa
3131
jfrog rt npm-ci
3232
npm publish
3333
jfrog rt npm-publish --build-name=eslint-plugin-sonarjs --build-number=${{ github.event.release.tag_name }}
3434
jfrog rt build-publish eslint-plugin-sonarjs ${{ github.event.release.tag_name }}
35-
jfrog config import $REPOX_CLI_CONFIG_BUILD_PROMOTER
35+
jfrog config import $REPOX_CLI_CONFIG_BUILD_PROMOTER_LT
3636
jfrog rt bpr --status it-passed eslint-plugin-sonarjs ${{ github.event.release.tag_name }} sonarsource-npm-public-builds
3737
jfrog rt bpr --status released eslint-plugin-sonarjs ${{ github.event.release.tag_name }} sonarsource-npm-public-releases

0 commit comments

Comments
 (0)