Run the package repo mirror sync from CI every six hours
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019hLK3wsDuKVAC37GgDqg6H
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
name: pkg-repo-sync
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "17 */6 * * *"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sync:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: quattro
|
||||||
|
|
||||||
|
- name: Mirror upstream [omarchy] stable into the Gitea Arch registry
|
||||||
|
env:
|
||||||
|
PKG_SYNC_TOKEN: ${{ secrets.PKG_SYNC_TOKEN }}
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
if ! command -v zstd > /dev/null; then
|
||||||
|
apt-get update -qq && apt-get install -y -qq zstd
|
||||||
|
fi
|
||||||
|
bash packages/sync-omarchy-repo.sh
|
||||||
Reference in New Issue
Block a user