Skip to content

Commit

Permalink
Merge pull request #7 from EdukaiFR/feat/CI
Browse files Browse the repository at this point in the history
feat(CI): add manual triggering to mirror workflow
  • Loading branch information
khalidbelk authored Nov 13, 2024
2 parents 81f0f19 + 113c58d commit 6c24421
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ on:
- main
types:
- closed
workflow_dispatch: {}

jobs:
push_to_mirror:
if: github.repository == 'EdukaiFR/website' && github.event.pull_request.merged == true
if: github.repository == 'EdukaiFR/website' &&
(github.event_name == 'workflow_dispatch' ||
github.event.pull_request.merged == true)
runs-on: ubuntu-latest
steps:

Expand Down

0 comments on commit 6c24421

Please sign in to comment.