1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-02-24 03:23:08 +01:00

Fix broken workflow

This commit is contained in:
Kamran Ahmed 2022-08-28 03:38:37 +04:00
parent 1de0743612
commit f2e8f546f3

View File

@ -5,6 +5,7 @@ on:
env: env:
ROADMAP_GA_SECRET: ${{ secrets.GA_SECRET }} ROADMAP_GA_SECRET: ${{ secrets.GA_SECRET }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PAT: ${{ secrets.PAT }}
CI: true CI: true
NEXT_TELEMETRY_DISABLED: 1 NEXT_TELEMETRY_DISABLED: 1
jobs: jobs:
@ -12,10 +13,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: 14 node-version: 14
- run: git config --global url."https://${GITHUB_TOKEN}@github.com/".insteadOf ssh://git@github.com/ - run: git config --global url."https://${{ secrets.PAT }}@github.com/".insteadOf ssh://git@github.com/
- name: Setup Environment - name: Setup Environment
run: | run: |
npm install npm install