Files
calendar/.github/workflows/sync-platform-branch.yml
T

24 lines
405 B
YAML

name: Sync platform branch with the main branch
on:
push:
branches:
- main
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Fetch platform branch
run: git fetch origin platform
- name: Sync with main
run: |
git checkout platform
git pull origin main
git push origin platform