parent
2695af9706
commit
9f79755c14
|
@ -1,30 +0,0 @@
|
|||
name: Update riffusion-playground space on hugging face
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
repository: https://huggingface.co/spaces/riffusion/riffusion-playground
|
||||
token: ${{ secrets.HF_RIFFUSION_TOKEN }}
|
||||
submodules: true
|
||||
|
||||
- name: Pull & update submodules recursively
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
git submodule update --recursive --remote
|
||||
|
||||
- name: Commit
|
||||
run: |
|
||||
git config user.email "actions@github.com"
|
||||
git config user.name "GitHub Actions - update submodules"
|
||||
git add --all
|
||||
git commit -m "Update submodules" || echo "No changes to commit"
|
||||
git push
|
Loading…
Reference in New Issue