lotus/.github/workflows/sync-master-main.yaml
2021-09-21 20:07:41 +00:00

15 lines
314 B
YAML

name: sync-master-main
on:
push:
branches:
- master
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: update remote branch main
run: |
# overrides the remote branch (origin:github) `main`
git push origin --force master:main