fix: make chmod fail gracefully
This commit is contained in:
parent
6a375bb442
commit
5f39da9c7a
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ runs:
|
||||||
- name: "Ensure public_html exists"
|
- name: "Ensure public_html exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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"
|
- name: "Ensure destination exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue