Skip to content

Merge pull request #506 from rancher/updatecli_main-source_8d8baf1cc6… #418

Merge pull request #506 from rancher/updatecli_main-source_8d8baf1cc6…

Merge pull request #506 from rancher/updatecli_main-source_8d8baf1cc6… #418

Workflow file for this run

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