From ddeaeefcbb71b58a68b27c8754415911b8747ae8 Mon Sep 17 00:00:00 2001 From: Stef Piatek Date: Fri, 30 Sep 2022 17:28:50 +0100 Subject: [PATCH] Add dummy git user for deployment --- .github/workflows/deploy.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 72c49a0..29047e4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,10 +1,10 @@ name: Deploy to github pages on: - # only try to run when test actions have completed on main + # only try to run when test actions have completed on main or deploy_github for testing workflow_run: workflows: [ "Tests" ] - branches: [ main ] + branches: [ main, deploy_github ] types: - completed @@ -25,4 +25,8 @@ jobs: - name: Install dependencies run: | npm ci + - name: Setup mock git user + run: | + git config --global user.email "gmsa@fhir.com" + git config --global user.name "Unused account" - run: npm run deploy