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