From bb7ce137179f20686773ae1645d036dc3c9d0ff9 Mon Sep 17 00:00:00 2001 From: lilleman Date: Sun, 4 Feb 2024 04:16:45 +0100 Subject: [PATCH] Updated workflow --- .gitea/workflows/test-and-build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.gitea/workflows/test-and-build.yml b/.gitea/workflows/test-and-build.yml index e69de29..510d43c 100644 --- a/.gitea/workflows/test-and-build.yml +++ b/.gitea/workflows/test-and-build.yml @@ -0,0 +1,22 @@ +name: Test and build +run-name: ${{ gitea.actor }} testing and building +on: + push: + branches: + - '**' + +env: + DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + DOCKER_USERNAME: ${{ vars.DOCKER_USERNAME }} + RUNNER_API_KEY: ${{ secrets.RUNNER_API_KEY }} + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + sparse-checkout: | + .gitea/test-and-build.sh + sparse-checkout-cone-mode: false + - run: .gitea/test-and-build.sh