File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments