Skip to content

Commit

Permalink
ci: correct deployment by using PAT (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
chambo-e authored Mar 2, 2021
1 parent c686adc commit ba2c4de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,15 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
persist-credentials: false
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Git Identity
run: |
git config --global user.name 'Scaleway Bot'
git config --global user.email 'github@scaleway.com'
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Use Node.js
uses: actions/setup-node@v2.1.5
with:
Expand All @@ -77,4 +78,4 @@ jobs:
- run: yarn run lerna publish -y --create-release github --ignore-scripts
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit ba2c4de

Please sign in to comment.