From ebc5fcb58c8a464c525e0dc4f1278f6f31aeb691 Mon Sep 17 00:00:00 2001 From: Darrel Pol Date: Tue, 10 Sep 2024 22:47:56 -0500 Subject: [PATCH] conditionally add extensions --- .github/workflows/on_merge_to_master.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/on_merge_to_master.yaml b/.github/workflows/on_merge_to_master.yaml index 3dfb511f3..4c2be976f 100644 --- a/.github/workflows/on_merge_to_master.yaml +++ b/.github/workflows/on_merge_to_master.yaml @@ -29,17 +29,21 @@ jobs: # Navigate to the models folder and download required files cd models # Example: Downloading a model file (adjust the URL) - if [ ! -f model_file_name ]; then - wget https://huggingface.co/stabilityai/stable-diffusion-2/resolve/main/768-v-ema.safetensors - fi + # if [ ! -f model_file_name ]; then + # wget https://huggingface.co/stabilityai/stable-diffusion-2/resolve/main/768-v-ema.safetensors + # fi # Navigate to the extensions folder and clone repos cd ../extensions - if [ ! -d your-extension-folder ]; then + if [ ! -d "sd-webui-deforum/.git" ]; then git clone https://github.com/deforum-art/sd-webui-deforum + fi + + if [ ! -d "sd-webui-controlnet/.git" ]; then git clone https://github.com/Mikubill/sd-webui-controlnet fi + # Return to the main project directory cd ..