Fix publish action

This commit is contained in:
Gabriel Augendre 2023-01-27 11:18:42 +01:00
parent 5d8efbda70
commit 1ba23f278e

View file

@ -37,11 +37,11 @@ jobs:
runs-on: ubuntu-latest
needs: [push_to_registry]
steps:
- name: Deploy{% raw %}
- name: Deploy
run: |
TEMP=$(mktemp)
TEMP=$(mktemp){% raw %}
echo "${{ secrets.DEPLOY_KEY }}" > $TEMP
ssh -o StrictHostKeyChecking=no -i $TEMP -p ${{ secrets.DEPLOY_PORT }} ${{ secrets.DEPLOY_USERNAME }}@${{ secrets.DEPLOY_HOST }} /mnt/data/{{cookiecutter.project_slug}}/update{% endraw %}
ssh -o StrictHostKeyChecking=no -i $TEMP -p ${{ secrets.DEPLOY_PORT }} ${{ secrets.DEPLOY_USERNAME }}@${{ secrets.DEPLOY_HOST }}{% endraw %} /mnt/data/{{cookiecutter.project_slug}}/update
- name: Check
uses: nick-fields/retry@v2
with: