Skip to content

Commit

Permalink
fix(release): used PAT for release (need update on org secrets)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelsimon committed Dec 12, 2023
1 parent 7119391 commit ef0ae3a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PUBLIC_GITHUB_TOKEN }}
token: ${{ secrets.WOOSMAP_GH_ACCESS_TOKEN }}
- uses: actions/cache@v3
with:
path: ~/.npm
Expand All @@ -25,13 +25,13 @@ jobs:
- name: Update dist
run: |
npm run build
git config --global user.name 'wgsadmin'
git config --global user.email 'operations@webgeoservices.com'
git config --global user.name 'gaelsimon'
git config --global user.email 'gael.simon@woosmap.com'
git add dist
git commit -m "chore: update dist folder [skip ci]" || true
git push origin
env:
GH_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.WOOSMAP_GH_ACCESS_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: '14'
Expand All @@ -44,5 +44,5 @@ jobs:
"@semantic-release/git@9.0.1"
"@semantic-release/github@7.2.3"
env:
GH_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.WOOSMAP_GH_ACCESS_TOKEN }}
NPM_TOKEN: skip

0 comments on commit ef0ae3a

Please sign in to comment.