Fix broken workflow

pull/1657/head
Kamran Ahmed 2 years ago
parent 1de0743612
commit f2e8f546f3
  1. 5
      .github/workflows/deploy.yml

@ -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…
Cancel
Save