CI: only push on main branch

This commit is contained in:
Dominic 2024-11-25 18:21:07 +01:00
parent aa0c85a528
commit e24e929535
Signed by: msrd0
GPG key ID: AAF7C8430CA3345D

View file

@ -0,0 +1,15 @@
name: Mirror
on:
push:
branches: [main]
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: https://msrd0.dev/aur/.mirror@main
with:
ssh_key: ${{secrets.ssh_key}}