diff --git a/.forgejo/workflows/build_and_deploy_site.yml b/.forgejo/workflows/build_and_deploy_site.yml index 90f91e3..0da4fcd 100644 --- a/.forgejo/workflows/build_and_deploy_site.yml +++ b/.forgejo/workflows/build_and_deploy_site.yml @@ -10,12 +10,10 @@ jobs: deploy: runs-on: ubuntu-22.04 steps: - - name: Manual checkout - run: | - git clone ${{ github.server_url }}/${{ github.repository }} . - cd ${{ github.repository }} - git checkout ${{ github.sha }} - git submodule init + - uses: actions/checkout@v4 + with: + submodules: true # Fetch Hugo themes (true OR recursive) + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Setup run: apt-get install hugo -y diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml deleted file mode 100644 index eb96bf4..0000000 --- a/.forgejo/workflows/test.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Test Runner -on: - push: - branches: - - master -jobs: - test: - runs-on: ubuntu-22.04 - steps: - - name: Simple test - run: echo "Hello World"