Set port during deploy
This commit is contained in:
parent
fdeab1c298
commit
7ed3450f0a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
|
@ -33,4 +33,4 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
TEMP=$(mktemp)
|
TEMP=$(mktemp)
|
||||||
echo "${{ secrets.DEPLOY_KEY }}" > $TEMP
|
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
|
||||||
|
|
Reference in a new issue