From 1df9bf730e9b5b252cab26dc73c1e5979d57f744 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 22 Jun 2020 00:20:21 +0400 Subject: [PATCH] Fix deployment step failing --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 55f7b79f4..198946b7f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,7 +21,10 @@ jobs: env: ROADMAP_GH_SECRET: ${{ secrets.GA_SECRET }} - name: Deploy to GitHub Pages + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config user.email "kamranahmed.se@gmail.com" 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