From f9f8d92098ad783182d462dd3397553a8c3a0c6c Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Sat, 12 Jul 2025 21:38:41 -0400 Subject: [PATCH] Revert to github actions --- .forgejo/workflows/build_and_deploy_site.yml | 10 ++++------ .forgejo/workflows/test.yml | 11 ----------- 2 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 .forgejo/workflows/test.yml 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"