Closed yousufkalim closed 1 year ago
Add strip_components: 1
in your config.
uses: appleboy/scp-action@master
with:
host: ${{ secrets[format('{0}_SERVER', env.NODE_ENV)] }}
username: ${{ secrets[format('{0}_USER', env.NODE_ENV)] }}
key: ${{ secrets[format('{0}_KEY', env.NODE_ENV)] }}
rm: true
source: 'build/*'
target: ${{ env.RELEASE_PATH }}
+ strip_components: 1
In this job, how can we stop build folder to be created inside the release path? I only want to copy the content of the build folder, not build folder itself