From 6a375bb442b8b8841142714da5d278247f0722d5 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 22 Sep 2024 22:32:41 +0100 Subject: [PATCH] fix: mkdir does not have a -f option --- deploy_user/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy_user/action.yml b/deploy_user/action.yml index 83d8f9b..49a671a 100644 --- a/deploy_user/action.yml +++ b/deploy_user/action.yml @@ -26,11 +26,11 @@ runs: - name: "Ensure public_html exists" shell: bash run: | - ssh -v -i tmp.key ${{ inputs.username }}@skynet.skynet.ie "mkdir -p -f ~/public_html && chmod 711 ~ && chmod -R 755 ~/public_html" + ssh -v -i tmp.key ${{ inputs.username }}@skynet.skynet.ie "mkdir -p ~/public_html && chmod 711 ~ && chmod -R 755 ~/public_html" - name: "Ensure destination exists" shell: bash run: | - ssh -v -i tmp.key ${{ inputs.username }}@skynet.skynet.ie "mkdir -p -f ~/public_html/${{ inputs.destination }}" + ssh -v -i tmp.key ${{ inputs.username }}@skynet.skynet.ie "mkdir -p ~/public_html/${{ inputs.destination }}" - name: "Copy files across" shell: bash run: |