From 630137a681696cb962d64f4c1d49bc8564d06745 Mon Sep 17 00:00:00 2001 From: lukas Date: Thu, 27 Aug 2026 12:54:12 +0200 Subject: [PATCH] wip --- .gitea/workflows/ci.yml | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b0332e6..677a292 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,21 +1,30 @@ -name: Build and Push Container +name: Build on: push: + branches: + - proof + +permissions: + contents: read jobs: build: runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 + with: + token: ${{ secrets.GITEA_TOKEN }} + - name: Check token env: TOKEN: ${{ secrets.GITEA_TOKEN }} - run: | - if [ -n "$TOKEN" ]; then - echo "GITEA_TOKEN is present" - else - echo "GITEA_TOKEN is EMPTY" - exit 1 - fi - + run: | + if [ -n "$TOKEN" ]; then + echo "GITEA_TOKEN is present" + else + echo "GITEA_TOKEN is EMPTY" + exit 1 + fi \ No newline at end of file