feat: changed deploy.yml
This commit is contained in:
parent
159486cfb0
commit
1133e46f49
1 changed files with 3 additions and 2 deletions
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
|
@ -31,7 +31,8 @@ jobs:
|
||||||
run: scp -i ${{ secrets.SSH_KEY }} docker-compose.yml ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/home/${{ secrets.SSH_USER }}/munera
|
run: scp -i ${{ secrets.SSH_KEY }} docker-compose.yml ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/home/${{ secrets.SSH_USER }}/munera
|
||||||
|
|
||||||
- name: Deploy on server
|
- name: Deploy on server
|
||||||
run: ssh -i ${{ secrets.SSH_KEY }} ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << 'EOF'
|
run: |
|
||||||
|
ssh -i ${{ secrets.SSH_KEY }} ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << 'EOF'
|
||||||
cd /home/${{ secrets.SSH_USER }}/munera
|
cd /home/${{ secrets.SSH_USER }}/munera
|
||||||
docker-compose down
|
docker-compose down
|
||||||
docker-compose up --build -d
|
docker-compose up --build -d
|
||||||
|
|
Loading…
Reference in a new issue