From 392e29a37131ada26e552f52bd46aa324ef3b724 Mon Sep 17 00:00:00 2001 From: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com> Date: Tue, 10 Aug 2021 07:52:53 -0700 Subject: [PATCH] Fixing Automated Web Deploy (#1082) * switching back to npm install because duo_web_sdk is in the package-lock.json as an ssh url * trying the workaround found in https://github.com/npm/cli/issues/2610 * adding in the jslib to see if that fixes the original problem. Removing the workaround to isolate the solution * adding in back the workaround --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2d52c7b990..9b0a9b564b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -44,9 +44,12 @@ jobs: run: | git config user.name = "GitHub Action Bot" git config user.email = "<>" + git config --global url."https://github.com/".insteadOf ssh://git@github.com/ + git config --global url."https://".insteadOf ssh:// - name: Install and Build run: | + npm run sub:init npm ci npm run dist