Skip to content

Commit

Permalink
remove git config to download private repos
Browse files Browse the repository at this point in the history
  • Loading branch information
edospadoni committed Oct 20, 2023
1 parent 7cf190a commit f919731
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ jobs:
with:
ref: ${{ github.ref }}
persist-credentials: false
- name: Reconfigure git to use HTTP authentication and install dependencies
run: |
git config --global url.https://${{ secrets.ICONS_TOKEN }}@github.com/.insteadOf ssh://[email protected]/
npm ci
- run: npm run build:widget
- name: Install dependencies
run: npm ci
- name: Run widget build
run: npm run build:widget
- name: 'Commit and publish to cdn'
uses: EndBug/add-and-commit@v4
with:
Expand Down Expand Up @@ -55,11 +54,10 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Reconfigure git to use HTTP authentication and install dependencies
run: |
git config --global url.https://${{ secrets.ICONS_TOKEN }}@github.com/.insteadOf ssh://[email protected]/
npm ci
- run: npm run build
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- run: npm run release
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit f919731

Please sign in to comment.