fix: make chmod fail gracefully

This commit is contained in:
silver 2024-09-22 22:36:54 +01:00
parent 6a375bb442
commit 5f39da9c7a
Signed by untrusted user: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -26,7 +26,7 @@ runs:
- name: "Ensure public_html exists"
shell: bash
run: |
ssh -v -i tmp.key ${{ inputs.username }}@skynet.skynet.ie "mkdir -p ~/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 ~ || true && chmod -R 755 ~/public_html || true"
- name: "Ensure destination exists"
shell: bash
run: |