diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 7ee3e58..1b90172 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -16,12 +16,7 @@ jobs: - name: Grab packages run: | apt-get update && \ - apt-get install -y jq rsync tar wget && \ - wget https://github.com/gohugoio/hugo/releases/download/v0.123.4/hugo_0.123.4_linux-amd64.tar.gz && \ - tar -xzvf hugo_0.123.4_linux-amd64.tar.gz && \ - chmod +x hugo - - name: Run build task - run: ./hugo --minify --logLevel info + apt-get install -y jq rsync tar wget - name: Test static page run: bash ${{ gitea.workspace }}/bin/test_static_page.sh - name: Deploy to Server