ci(gitea): use dedicated artix runner (runs-on: artix)
Build Packages / build (push) Successful in 1h32m9s
Build Packages / build (push) Successful in 1h32m9s
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.
This commit is contained in:
@@ -12,12 +12,12 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: artix
|
||||||
container:
|
|
||||||
image: artixlinux/artixlinux:base-dinit
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
@@ -74,9 +74,14 @@ jobs:
|
|||||||
- name: Generate index and package list
|
- name: Generate index and package list
|
||||||
run: python generate-index.py
|
run: python generate-index.py
|
||||||
|
|
||||||
- name: Deploy to Pages
|
- name: Deploy to repo branch
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
env:
|
||||||
with:
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
run: |
|
||||||
publish_dir: ./repo
|
git config user.name "gitea-actions"
|
||||||
keep_files: false
|
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
|
||||||
Reference in New Issue
Block a user