Fix deployment step failing
This commit is contained in:
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
@ -21,7 +21,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ROADMAP_GH_SECRET: ${{ secrets.GA_SECRET }}
|
ROADMAP_GH_SECRET: ${{ secrets.GA_SECRET }}
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git config user.email "kamranahmed.se@gmail.com"
|
git config user.email "kamranahmed.se@gmail.com"
|
||||||
git config user.name "Kamran Ahmed"
|
git config user.name "Kamran Ahmed"
|
||||||
|
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
|
||||||
npm run deploy
|
npm run deploy
|
||||||
|
Reference in New Issue
Block a user