forked from Skynet/actions
fix: mkdir does not have a -f option
This commit is contained in:
parent
3981f79461
commit
6a375bb442
1 changed files with 2 additions and 2 deletions
|
@ -26,11 +26,11 @@ 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 -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"
|
- name: "Ensure destination exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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"
|
- name: "Copy files across"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue