Skip to content

Commit

Permalink
Parent folder seems to be the issue, lets create the folder locally a…
Browse files Browse the repository at this point in the history
…nd upload that
  • Loading branch information
LucHeart committed Jan 9, 2025
1 parent 83780e4 commit cd5a228
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/actions/cdn-upload-version-info/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,19 @@ inputs:
runs:
using: composite
steps:
- name: Create boards.txt

- name: Prepare Upload Folder
shell: bash
run: |
echo -e '${{ inputs.boards }}' >> boards.txt
rm -rf upload/
mkdir -p upload/${{ inputs.fw-version }}/${{ inputs.board }}
- name: Prepare Upload Folder
- name: Create boards.txt
shell: bash
run: |
mkdir -p upload
mv boards.txt upload/
echo -e '${{ inputs.boards }}' >> upload/${{ inputs.fw-version }}/${{ inputs.board }}/boards.txt
- name: Upload artifacts to CDN
shell: bash
run: |
sshpass -p "${{ inputs.bunny-stor-password }}" scp -vvv -r upload/* ${{ inputs.bunny-stor-username }}@${{ inputs.bunny-stor-hostname }}:/${{ inputs.fw-version }}/${{ inputs.board }}
sshpass -p "${{ inputs.bunny-stor-password }}" scp -vvv -r upload/* ${{ inputs.bunny-stor-username }}@${{ inputs.bunny-stor-hostname }}:/

0 comments on commit cd5a228

Please sign in to comment.