Merge pull request #447 from thomasferrandiz/fix-canal-upgrade #370
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI-push | |
on: | |
push: | |
branches: | |
- main-source | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Pull scripts | |
run: sudo make pull-scripts | |
- name: Pull in all relevant branches | |
run: git fetch origin main-source main | |
- name: Checkout live branch | |
run: git checkout main | |
- name: Synchronize | |
run: sudo make sync | |
- name: Add assets to branch | |
run: git add . && git -c user.name="actions" -c user.email="[email protected]" commit -m "$(git log -b main-source --oneline -n1 --pretty=format:'%B')" || true | |
- name: Push assets | |
run: git push origin main |