From aeaca98c0ffdaf75a8ec0ec9576ddeca603c5533 Mon Sep 17 00:00:00 2001 From: Darrel Pol Date: Sat, 9 Nov 2024 13:05:12 -0600 Subject: [PATCH] fixing user folder --- .github/workflows/on_push_deploy_to_staging.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on_push_deploy_to_staging.yaml b/.github/workflows/on_push_deploy_to_staging.yaml index 14ae13d24..876b5cab1 100644 --- a/.github/workflows/on_push_deploy_to_staging.yaml +++ b/.github/workflows/on_push_deploy_to_staging.yaml @@ -78,8 +78,8 @@ jobs: # Run the new Docker container docker run --gpus all -d -p 7861:7861 --name moonlite-sd \ - -v /home/ec2-user/apps/stable-diffusion-webui/outputs/img2img-images:/app/outputs/img2img-images \ - -v /home/ec2-user/apps/media_root:/home/ec2-user/apps/media_root \ + -v /home/${{ secrets.STAGING_EC2_USER }}/apps/stable-diffusion-webui/outputs/img2img-images:/app/outputs/img2img-images \ + -v /home/${{ secrets.STAGING_EC2_USER }}/apps/media_root:/home/${{ secrets.STAGING_EC2_USER }}/apps/media_root \ --env-file /home/${{ secrets.STAGING_EC2_USER }}/.env \ ${{ secrets.STAGING_ECR_URI }}:latest