mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 12:22:26 -08:00
added copy step for ec2 instance
This commit is contained in:
parent
ecc31f611d
commit
a06a56381c
2 changed files with 5 additions and 1 deletions
4
.github/workflows/on_merge_to_master.yaml
vendored
4
.github/workflows/on_merge_to_master.yaml
vendored
|
|
@ -27,6 +27,10 @@ jobs:
|
|||
echo "SDAPI_USERNAME=${{ secrets.MOONLITE_SDAPI_USERNAME }}" >> .env
|
||||
echo "SDAPI_PASSWORD=${{ secrets.MOONLITE_SDAPI_PASSWORD }}" >> .env
|
||||
|
||||
- name: Copy .env file to EC2 instance
|
||||
run: |
|
||||
scp -o StrictHostKeyChecking=no -i ${{ secrets.MOONLITE_AWS_EC2_SSH_KEY }} .env ${{ secrets.MOONLITE_AWS_EC2_SSH_USER }}@${{ secrets.MOONLITE_AWS_EC2_SSH_HOST }}:/home/ec2-user/apps/stable-diffusion/
|
||||
|
||||
- name: SSH into EC2 and deploy the app
|
||||
run: |
|
||||
ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=60 -o StrictHostKeyChecking=no ${{ secrets.MOONLITE_AWS_EC2_SSH_USER }}@${{ secrets.MOONLITE_AWS_EC2_SSH_HOST }} << 'EOF'
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit b63899a654ee2f70d475c259691f35ac67c320d4
|
||||
Subproject commit 56cec5b2958edf3b1807b7e7b2b1b5186dbd2f81
|
||||
Loading…
Add table
Add a link
Reference in a new issue