Open gurpreet-fe opened 6 days ago
Hello, I also have the same problem apparently is not taking the or in case such paths example dist/folder/folder2/ in the final destination is coming the same structure remote/dist/folder/folder2/ when I really want to show in remote/ what is inside the folder2 would be great if you can fix this bug. Thanks
Have the save issue.
To solve this I had to use appleboy/ssh-action.
- name: Move files to root
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
cd *PATH TO PARENT DIRECTORY*
mv dist/* .
rm -rf dist/
Have the save issue.
Description I would like to copy only the contents of the artifact into the target directory.
Expected Behaviour The contents of the artifact should be copied directly into the target directory, without copying the artifact directory itself.
Actual Behaviour The entire artifact directory is copied to the target directory.