Skip to content

Commit

Permalink
ci: Update mirror.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake authored Oct 9, 2024
1 parent 9a8568a commit 37f9a6d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ on:
branches:
- "develop"
- "master"
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
gitlab:
name: Mirror to GitLab
if: github.actor == 'sorairolake' && github.repository_owner == 'sorairolake'
if: (github.actor == 'sorairolake' || github.event_name == 'schedule') && github.repository_owner == 'sorairolake'
runs-on: ubuntu-22.04
steps:
- name: Checkout code
Expand All @@ -31,7 +33,7 @@ jobs:

codeberg:
name: Mirror to Codeberg
if: github.actor == 'sorairolake' && github.repository_owner == 'sorairolake'
if: (github.actor == 'sorairolake' || github.event_name == 'schedule') && github.repository_owner == 'sorairolake'
runs-on: ubuntu-22.04
steps:
- name: Checkout code
Expand Down

0 comments on commit 37f9a6d

Please sign in to comment.