From cf07b45e85c73daa507b1f8261e6e908b9199605 Mon Sep 17 00:00:00 2001 From: David Young Date: Wed, 3 Jun 2020 13:37:56 +1200 Subject: [PATCH] Update preview process --- .../on-push-master-update-leanpub-preview.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/on-push-master-update-leanpub-preview.yml b/.github/workflows/on-push-master-update-leanpub-preview.yml index 2290723..57f07a0 100644 --- a/.github/workflows/on-push-master-update-leanpub-preview.yml +++ b/.github/workflows/on-push-master-update-leanpub-preview.yml @@ -31,6 +31,16 @@ jobs: cd leanpub-preview ./scripts/markdown-to-markua.sh + # For reason for this, see https://github.com/ad-m/github-push-action/issues/52 + - name: Remove troublesome extra header from actions/checkout results + run: | + cd to_publish + git config --local --unset-all "http.https://github.com/.extraheader" + git config --global user.email "autopenguin@funkypenguin.co.nz" + git config --global user.name "AutoPenguin" + git add . + git commit -m 'Update for leanpub preview' + - name: Push changes uses: ad-m/github-push-action@master with: