Skip to content

Commit

Permalink
BUILD-1751 fix JFrog credentials (#362)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
julien-carsique-sonarsource committed Jul 21, 2022
1 parent b211bf1 commit c6a21fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@v2
env:
JF_ARTIFACTORY_1: ${{ secrets.REPOX_CLI_CONFIG_QA_DEPLOYER }}
JF_ENV_1: ${{ secrets.REPOX_CLI_CONFIG_QA_DEPLOYER_LT }}
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
Expand All @@ -25,13 +25,13 @@ jobs:
- name: Publish npm package
env:
NPM_TOKEN: ${{ secrets.SONARTECH_NPM_TOKEN }}
REPOX_CLI_CONFIG_BUILD_PROMOTER: ${{ secrets.REPOX_CLI_CONFIG_BUILD_PROMOTER }}
REPOX_CLI_CONFIG_BUILD_PROMOTER_LT: ${{ secrets.REPOX_CLI_CONFIG_BUILD_PROMOTER_LT }}
run: |
jfrog rt npm-config --repo-resolve npm --repo-deploy sonarsource-npm-public-qa
jfrog rt npm-ci
npm publish
jfrog rt npm-publish --build-name=eslint-plugin-sonarjs --build-number=${{ github.event.release.tag_name }}
jfrog rt build-publish eslint-plugin-sonarjs ${{ github.event.release.tag_name }}
jfrog config import $REPOX_CLI_CONFIG_BUILD_PROMOTER
jfrog config import $REPOX_CLI_CONFIG_BUILD_PROMOTER_LT
jfrog rt bpr --status it-passed eslint-plugin-sonarjs ${{ github.event.release.tag_name }} sonarsource-npm-public-builds
jfrog rt bpr --status released eslint-plugin-sonarjs ${{ github.event.release.tag_name }} sonarsource-npm-public-releases

0 comments on commit c6a21fc

Please sign in to comment.