Skip to content

Commit 6818a0d

Browse files
committed
Use rsync rather than cp to ensure that old files are removed
(openminds/latest/controlled_terms/mr_acquisition_type.py) is still present in the main branch, and should not be
1 parent bcf538e commit 6818a0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Push to development
4646
if: ${{ matrix.python-version == 3.12 }}
4747
run: |
48-
cp -R target/* development
48+
rsync -a --delete --exclude '.git/' target/ development/
4949
cd development
5050
rm -rf build openMINDS.egg-info
5151
git config --global user.email "[email protected]"

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Push to main
4646
if: ${{ matrix.python-version == 3.12 }}
4747
run: |
48-
cp -R target/* main
48+
rsync -a --delete --exclude '.git/' target/ main/
4949
cd main
5050
rm -rf build openMINDS.egg-info
5151
git config --global user.email "[email protected]"

0 commit comments

Comments
 (0)