From 27ae0a684fa74ba4745606ac8cb58aeb553514a9 Mon Sep 17 00:00:00 2001 From: arthur Date: Thu, 25 Sep 2025 11:06:53 +0200 Subject: [PATCH] Update .gitea/workflows/build.yml --- .gitea/workflows/build.yml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f901d9e..a325244 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -1,9 +1,8 @@ -name: Meson Build and Deploy +name: Build and Deploy Docs on: push: - branches: ["lisp"] - pull_request: + branches: [ lisp ] # or your default branch jobs: build: @@ -12,13 +11,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - with: - tokens: ${{ secrets.GITEA_TOKEN }} - name: Install dependencies run: | sudo apt-get update - sudo apt-get install -y meson ninja-build gcc + sudo apt-get install -y meson ninja-build gcc doxygen graphviz - name: Configure Meson run: meson setup build @@ -29,19 +26,10 @@ jobs: - name: Run tests run: meson test -C build --print-errorlogs || true - - name: Upload artifact - uses: actions/upload-artifact@v3 - with: - name: beluga - path: build/ - - - name: Install Doxygen - run: sudo apt-get update && sudo apt-get install -y doxygen graphviz - - name: Build Doxygen Docs run: doxygen Doxyfile - - name: Deploy to Pages + - name: Deploy to Pages branch run: | git config user.name "CI Bot" git config user.email "ci-bot@homelinuxserver" @@ -52,4 +40,3 @@ jobs: git add . git commit -m "Update docs" || echo "No changes to commit" git push https://$USERNAME:${{ secrets.GITEA_TOKEN }}@homelinuxserver.ddns.net/git//.git pages --force -