diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 8f8cdb9..558727e 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -12,6 +12,7 @@ jobs: - name: Deploy run: | set -e + git config --global --add safe.directory "${{ vars.PROD_APP_DIR }}" cd "${{ vars.PROD_APP_DIR }}" git fetch --tags git checkout "${{ gitea.ref_name }}"