f
This commit is contained in:
parent
7f7edb4775
commit
0aa934ade7
1 changed files with 5 additions and 1 deletions
|
|
@ -47,6 +47,10 @@ jobs:
|
|||
mnemo_cards_backend \
|
||||
${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:~/
|
||||
|
||||
# Sync deploy tools
|
||||
rsync -avz --delete tools/deploy \
|
||||
${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:~/mnemo_cards/tools/
|
||||
|
||||
- name: Ensure SSL Certificates
|
||||
run: |
|
||||
ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o ConnectTimeout=30 -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << 'ENDSSH'
|
||||
|
|
@ -158,7 +162,7 @@ jobs:
|
|||
ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o ConnectTimeout=30 -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << 'ENDSSH'
|
||||
set -e
|
||||
echo "🔧 Generating and deploying nginx configurations..."
|
||||
cd ~/tools/deploy
|
||||
cd ~/mnemo_cards/tools/deploy
|
||||
./generate-nginx-configs.sh
|
||||
./deploy-nginx-configs.sh
|
||||
./check-nginx.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue