Skip to content

Commit

Permalink
Update uploadFile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
madhavbk authored Jul 15, 2024
1 parent 00815c1 commit e2fb1ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/uploadFile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
run: |
df -h
ls -ltra
sudo docker save -o "/mnt/docker/${{ github.event.inputs.fileName }}.tar" "urbancode/${{ github.event.inputs.fileName }}"
sudo docker save -o /mnt/docker/"${{ github.event.inputs.fileName }}.tar" "urbancode/${{ github.event.inputs.fileName }}"
ls -a
sudo mkdir -p "/mnt/docker/files/${{ github.event.inputs.folderName }}"
sudo mv "/mnt/docker/${{ github.event.inputs.fileName }}.tar" "/mnt/docker/files/${{ github.event.inputs.folderName }}/"
cd /mnt/docker/files/${{ github.event.inputs.folderName }}/
ls -a
- uses: edgarrc/action-7z@v1
with:
args: 7z a -v50m "/mnt/docker//${{ github.event.inputs.folderName }}/${{ github.event.inputs.fileName }}.tar.7z" "/mnt/docker//${{ github.event.inputs.folderName }}/${{ github.event.inputs.fileName }}.tar"
args: 7z a -v50m /mnt/docker/"${{ github.event.inputs.folderName }}/${{ github.event.inputs.fileName }}.tar.7z" /mnt/docker/"${{ github.event.inputs.folderName }}/${{ github.event.inputs.fileName }}.tar"
- name: Commit changes
run: |
git init
Expand Down

0 comments on commit e2fb1ef

Please sign in to comment.