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