From 9ee6788f98844a321edeb82d26ce9fed87bd99ee Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Thu, 31 Mar 2022 15:13:30 +0200 Subject: [PATCH] docs: workaround unstaged file when checking out gh-pages --- .github/workflows/docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 950a4df..0fbd0a8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -86,6 +86,7 @@ jobs: run: | git config user.name github-actions git config user.email github-actions@github.com + git stash git checkout gh-pages rm -rf $(basename ${GITHUB_REF}) mv docs/_build/html $(basename ${GITHUB_REF})