From e306da20548cf892b183d11a0ddc3687c42deaa3 Mon Sep 17 00:00:00 2001 From: Tim Sutton Date: Sat, 16 Dec 2023 21:29:01 +0200 Subject: [PATCH] Fix gh pages push error --- .github/workflows/nix-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.yml index 58606b9f..ee35159b 100644 --- a/.github/workflows/nix-build.yml +++ b/.github/workflows/nix-build.yml @@ -24,6 +24,8 @@ jobs: nix_path: nixpkgs=channel:nixos-unstable - uses: DeterminateSystems/magic-nix-cache-action@v2 - run: nix-shell --run "./english_build.sh" + # Fix for https://github.com/inasafe/inasafe-doc/actions/runs/7233606517/job/19709062547#step:7:14 + - run: git config --global --add safe.directory $PWD - uses: ad-m/github-push-action@v0.5.0 with: # Token for the repo