open-webui / .github /workflows /sync-hf-spaces-with-dev.yml
github-actions[bot]
GitHub deploy: 147a7d5cff70d15d1362635ac6a0b7800587e9c6
a4d7fd9
raw
history blame
558 Bytes
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