CI: only push on main branch
This commit is contained in:
parent
aa0c85a528
commit
e24e929535
1 changed files with 3 additions and 1 deletions
15
.forgejo/workflows/mirror.yml
Normal file
15
.forgejo/workflows/mirror.yml
Normal 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}}
|
Loading…
Add table
Add a link
Reference in a new issue