Skip to content

Commit

Permalink
Update push-to-private.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult authored Oct 8, 2024
1 parent f6e37ab commit fb530df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/push-to-private.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:

jobs:
push_changes:
if: ${{ !contains(github.repository, 'private') }}
runs-on: ubuntu-latest

steps:
Expand All @@ -31,5 +32,5 @@ jobs:

- name: Push changes to private repository
run: |
git remote add private git@github.com:ecmwf/anemoi-datasets-private.git
git remote add private git@github.com:ecmwf/${{ github.repository }}-private.git
git push --set-upstream private develop

0 comments on commit fb530df

Please sign in to comment.