Skip to content

Commit cf612b9

Browse files
authored
Fix git+ssh on wai-deploy (#1872)
1 parent 5a6b86b commit cf612b9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/wai-deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ jobs:
1919
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2020
restore-keys: |
2121
${{ runner.os }}-node-
22+
- run: git config --global url."https://github.com/".insteadOf ssh://git@github.com/
23+
- name: Install dependencies
24+
run: npm ci
2225
- name: Configure git
2326
run: |
2427
git config --global url."https://${{ secrets.WAI_GIT_NAME }}:${{ secrets.WAI_GIT_ACCESS_TOKEN }}@github.com".insteadOf "https://github.com"
2528
git config --global user.name "${{ secrets.WAI_GIT_NAME }}"
2629
git config --global user.email "${{ secrets.WAI_GIT_EMAIL }}"
27-
- name: Install dependencies
28-
run: npm ci
2930
- name: Build and deploy WAI update
3031
run: npm run build:wai

0 commit comments

Comments
 (0)