Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019hLK3wsDuKVAC37GgDqg6H
25 lines
567 B
YAML
25 lines
567 B
YAML
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
|