From 0d654d5e53982c9043cdf6939f3e231b021e49d3 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Fri, 23 Dec 2022 21:56:21 +0100 Subject: [PATCH] Change into the correct directory before trying to push Each workflow step starts back in the default directory, so we need to checkout the repository folder again --- .github/workflows/documentation.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 6a2a5ff544..35e323f50d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -133,9 +133,11 @@ jobs: - name: Push docs.openra.net (Release) if: startsWith(github.event.inputs.tag, 'release-') run: | + cd docs git push origin release - name: Push docs.openra.net (Playtest) if: startsWith(github.event.inputs.tag, 'playtest-') run: | + cd docs git push origin playtest