mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-02-24 11:33:09 +01:00
Fix broken workflow
This commit is contained in:
parent
1de0743612
commit
f2e8f546f3
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user