Skip to content

Commit ae9e988

Browse files
committed
Setup source code repository synchronisation
1 parent 70809d7 commit ae9e988

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/sync.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: sync
2+
3+
# Controls when the workflow will run
4+
on:
5+
# Trigger the workflow on all pushes
6+
push:
7+
branches:
8+
- "**"
9+
tags:
10+
- "**"
11+
12+
# Trigger the workflow when a branch or tag is deleted
13+
delete: ~
14+
15+
jobs:
16+
# Calls a reusable CI workflow to sync the current with a remote repository.
17+
# It will correctly handle addition of any new and removal of existing Git objects.
18+
sync:
19+
name: sync
20+
uses: ecmwf-actions/reusable-workflows/.github/workflows/sync.yml@v2
21+
secrets:
22+
target_repository: ecflow/ecflow
23+
target_username: ClonedDuck
24+
target_token: ${{ secrets.BITBUCKET_PAT }}

0 commit comments

Comments
 (0)