From 2a425669faa7c17acfc70b73627cc81468e45d12 Mon Sep 17 00:00:00 2001 From: Darrel Pol Date: Tue, 10 Sep 2024 23:05:05 -0500 Subject: [PATCH] adding pip install in the script --- .github/workflows/on_merge_to_master.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/on_merge_to_master.yaml b/.github/workflows/on_merge_to_master.yaml index 4c2be976f..2931a698e 100644 --- a/.github/workflows/on_merge_to_master.yaml +++ b/.github/workflows/on_merge_to_master.yaml @@ -23,9 +23,14 @@ jobs: run: | ssh -o StrictHostKeyChecking=no ${{ secrets.MOONLITE_AWS_EC2_SSH_USER }}@${{ secrets.MOONLITE_AWS_EC2_SSH_HOST }} << 'EOF' cd /home/ec2-user/apps/stable-diffusion-webui + git pull origin master + conda activate myenv + # Install missing Python packages + pip install insightface + # Navigate to the models folder and download required files cd models # Example: Downloading a model file (adjust the URL)