From 1ba23f278eddf9d88214fdfeaafb6bed4c196b71 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 27 Jan 2023 11:18:42 +0100 Subject: [PATCH] Fix publish action --- .../.github/workflows/publish.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/{{cookiecutter.project_slug}}/.github/workflows/publish.yaml b/{{cookiecutter.project_slug}}/.github/workflows/publish.yaml index 2354758..fe9e320 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/publish.yaml +++ b/{{cookiecutter.project_slug}}/.github/workflows/publish.yaml @@ -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: