Skip to content

Commit 97ae509

Browse files
committed
build48 action_v2
1 parent 27a97f0 commit 97ae509

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/reusable.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535
git commit -m "build: ${{ github.sha }}"
3636
git push origin main --force
3737
38-
# - name: Pushes to another repository (approach 2)
39-
# if: contains(github.event.head_commit.message, 'action_v2')
40-
# run: |
41-
# git config user.name github-actions
42-
# git config user.email [email protected]
43-
# git remote add prod https://x-access-token:${{ secrets.API_TOKEN_FOR_CCXT_SINGLE_EXCHANGES }}@github.com/ccxt/python-${{ inputs.exchange_name }}.git
44-
# git config pull.rebase false
45-
# git fetch --unshallow prod main
46-
# git pull --allow-unrelated-histories prod main || echo "Git pull failed"
47-
# git push prod main --force
38+
- name: Pushes to another repository (approach 2)
39+
if: contains(github.event.head_commit.message, 'action_v2')
40+
run: |
41+
git config user.name github-actions
42+
git config user.email [email protected]
43+
git remote add prod https://x-access-token:${{ secrets.API_TOKEN_FOR_CCXT_SINGLE_EXCHANGES }}@github.com/ccxt/python-${{ inputs.exchange_name }}.git
44+
git config pull.rebase false
45+
git fetch --unshallow origin
46+
git pull --allow-unrelated-histories prod main || echo "Git pull failed"
47+
git push prod main --force

0 commit comments

Comments
 (0)