From 7256fd331aa5bf2e9a353bf0b321b4b651fe7a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82?= Date: Thu, 20 Aug 2026 20:45:16 +0200 Subject: [PATCH] ci(gitea): use dedicated artix runner (runs-on: artix) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop the job-level container override now that a native Artix host runner (artix-runner, label 'artix') is registered on Gitea. Jobs run directly in the Artix runner container — no nested container, no Debian base image. Remove the obsolete GitHub workflow file. --- {.github => .gitea}/workflows/build.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) rename {.github => .gitea}/workflows/build.yml (77%) diff --git a/.github/workflows/build.yml b/.gitea/workflows/build.yml similarity index 77% rename from .github/workflows/build.yml rename to .gitea/workflows/build.yml index 31ea3d9..489d235 100644 --- a/.github/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -12,12 +12,12 @@ permissions: jobs: build: - runs-on: ubuntu-latest - container: - image: artixlinux/artixlinux:base-dinit + runs-on: artix steps: - uses: actions/checkout@v4 + with: + token: ${{ secrets.GITEA_TOKEN }} - name: Install deps run: | @@ -74,9 +74,14 @@ jobs: - name: Generate index and package list run: python generate-index.py - - name: Deploy to Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./repo - keep_files: false + - name: Deploy to repo branch + env: + GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + run: | + git config user.name "gitea-actions" + git config user.email "actions@antergos-nas.taild4360b.ts.net" + git remote set-url origin "https://git:${GITEA_TOKEN}@antergos-nas.taild4360b.ts.net/Antergos-NeXT/antergos-packages.git" + git checkout -B repo + git add -f repo + git commit -m "Update packages [skip ci]" || echo "Nothing to commit" + git push origin repo --force \ No newline at end of file