Set port during deploy

This commit is contained in:
Gabriel Augendre 2022-09-28 01:24:48 +02:00
parent fdeab1c298
commit 7ed3450f0a

View file

@ -33,4 +33,4 @@ jobs:
run: |
TEMP=$(mktemp)
echo "${{ secrets.DEPLOY_KEY }}" > $TEMP
ssh -o StrictHostKeyChecking=no -i $TEMP ${{ secrets.DEPLOY_USERNAME }}@${{ secrets.DEPLOY_HOST }} /mnt/data/blog/update
ssh -o StrictHostKeyChecking=no -i $TEMP -p ${{ secrets.DEPLOY_PORT }} ${{ secrets.DEPLOY_USERNAME }}@${{ secrets.DEPLOY_HOST }} /mnt/data/blog/update