From 3517f6ca1bb8fbb15e7f7bc03570252f858b2731 Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Sat, 12 Jul 2025 16:04:40 -0400 Subject: [PATCH] Change to manual checkout --- .forgejo/workflows/build_and_deploy_site.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build_and_deploy_site.yml b/.forgejo/workflows/build_and_deploy_site.yml index 5eb1ed3..90f91e3 100644 --- a/.forgejo/workflows/build_and_deploy_site.yml +++ b/.forgejo/workflows/build_and_deploy_site.yml @@ -10,11 +10,12 @@ jobs: deploy: runs-on: ubuntu-22.04 steps: - - uses: https://github.com/actions/checkout@v4 - with: - submodules: true # Fetch Hugo themes (true OR recursive) - fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - + - name: Manual checkout + run: | + git clone ${{ github.server_url }}/${{ github.repository }} . + cd ${{ github.repository }} + git checkout ${{ github.sha }} + git submodule init - name: Setup run: apt-get install hugo -y