ci: update dam mirror workflow
- Don't trigger builds.sr.ht CI on the mirror. We use yojo. - Send email on failure.
This commit is contained in:
parent
3daf28e7e0
commit
7520604dfd
1 changed files with 5 additions and 1 deletions
6
dam.yml
6
dam.yml
|
|
@ -28,6 +28,10 @@ secrets:
|
|||
oauth: pages.sr.ht/PAGES:RW
|
||||
sources:
|
||||
- https://forge.fedoraproject.org/packaging/fedrq
|
||||
triggers:
|
||||
- action: email
|
||||
condition: failure
|
||||
to: "maxwell@gtmx.me"
|
||||
tasks:
|
||||
- mirror: |
|
||||
cd fedrq/
|
||||
|
|
@ -41,7 +45,7 @@ tasks:
|
|||
git remote add --fetch github git@github.com:gotmax23/fedrq-mirror.git
|
||||
git remote add --fetch srht 'git@git.sr.ht:~gotmax23/fedrq'
|
||||
git push --force --follow-tags github main
|
||||
git push --force --follow-tags srht main
|
||||
git push --force --follow-tags -o skip-ci srht main
|
||||
else
|
||||
echo "Not mirroring. Branch is not main."
|
||||
exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue