ci: exclude bin and act_runner_data from rsync deletion
Some checks failed
Deploy to OCIWP / deploy (push) Has been cancelled
Some checks failed
Deploy to OCIWP / deploy (push) Has been cancelled
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Copying latest code to /app (Host Volume) and removing stale files..."
|
echo "Copying latest code to /app (Host Volume) and removing stale files..."
|
||||||
if command -v rsync &> /dev/null; then
|
if command -v rsync &> /dev/null; then
|
||||||
rsync -a --delete --exclude='.git' . /app/
|
rsync -a --delete --exclude='.git' --exclude='bin' --exclude='act_runner_data' . /app/
|
||||||
else
|
else
|
||||||
rm -rf /app/dap-* /app/src /app/build.gradle /app/settings.gradle
|
rm -rf /app/dap-* /app/src /app/build.gradle /app/settings.gradle
|
||||||
cp -a . /app/
|
cp -a . /app/
|
||||||
|
|||||||
Reference in New Issue
Block a user