File size: 558 Bytes
d1eebad |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
name: Sync hf-spaces with dev
on:
push:
branches:
- dev
- hf-spaces
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync with dev
run: |
git checkout dev
git fetch origin
git checkout hf-space
git pull
git merge origin/dev
git push origin hf-space
|