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 \
|
mnemo_cards_backend \
|
||||||
${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:~/
|
${{ 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
|
- name: Ensure SSL Certificates
|
||||||
run: |
|
run: |
|
||||||
ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o ConnectTimeout=30 -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << 'ENDSSH'
|
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'
|
ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o ConnectTimeout=30 -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << 'ENDSSH'
|
||||||
set -e
|
set -e
|
||||||
echo "🔧 Generating and deploying nginx configurations..."
|
echo "🔧 Generating and deploying nginx configurations..."
|
||||||
cd ~/tools/deploy
|
cd ~/mnemo_cards/tools/deploy
|
||||||
./generate-nginx-configs.sh
|
./generate-nginx-configs.sh
|
||||||
./deploy-nginx-configs.sh
|
./deploy-nginx-configs.sh
|
||||||
./check-nginx.sh
|
./check-nginx.sh
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue