Skip to content

Commit

Permalink
🎨 riktig token
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Oct 26, 2022
1 parent 7e311ce commit dcef32d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,14 @@ jobs:
- name: Install dependencies
run: yarn

- name: Create a .npmrc file for GPR
uses: FerLuisxd/create-npmrc@3
with:
org_name: navikt
env:
AUTH_TOKEN: ${{secrets.GIT_REPO}}

- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
@navikt:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_AUTOMATION }}
NPM_TOKEN: ${{ secrets.GIT_REPO }}

- name: Create release Pull Request or publish to NPM
id: changesets
Expand Down

0 comments on commit dcef32d

Please sign in to comment.