sync workflow

This commit is contained in:
hlky 2022-09-26 17:17:52 +01:00
parent 03d058bb97
commit 994728b5a5
No known key found for this signature in database
GPG Key ID: 55A99F1E80D907D5
2 changed files with 27 additions and 0 deletions

11
.github/sync.yml vendored Normal file
View File

@ -0,0 +1,11 @@
sd-webui/daisi:
- source: configs/
- source: data/
- source: frontend/
- source: ldm/
- source: models/
- source: outputs/
- source: optimizedSD/
- source: frontend/
- source: scripts/
dest: /

16
.github/workflows/sync.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Sync Files
on:
push:
branches:
- dev
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@master
- name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ secrets.GH_PAT }}