diff --git a/.gitea/workflows/build-and-deploy.yaml b/.gitea/workflows/build-and-deploy.yaml index f89af9f..4f9437b 100644 --- a/.gitea/workflows/build-and-deploy.yaml +++ b/.gitea/workflows/build-and-deploy.yaml @@ -4,6 +4,10 @@ on: [push] jobs: Build-And-Deploy: runs-on: ubuntu-latest + + needs: test + if: gitea.ref == 'refs/heads/master' + steps: - name: Setup Hugo uses: peaceiris/actions-hugo@v3