We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a5e2c1 + 0fbc2c8 commit e41f954Copy full SHA for e41f954
1 file changed
deploy.sh
@@ -46,7 +46,7 @@ fi
46
47
if [[ "$BUILD_DIR" != false ]]; then
48
if [[ $BUILD_DIR != /* ]]; then
49
- BUILD_DIR="${GITHUB_WORKSPACE%/}/${BUILD_DIR}"
+ BUILD_DIR="${GITHUB_WORKSPACE%/}/${BUILD_DIR%/}"
50
fi
51
echo "ℹ︎ BUILD_DIR is $BUILD_DIR"
52
@@ -108,7 +108,7 @@ if [[ "$BUILD_DIR" = false ]]; then
108
109
else
110
echo "ℹ︎ Copying files from build directory..."
111
- rsync -rc "$BUILD_DIR" trunk/ --delete --delete-excluded
+ rsync -rc "$BUILD_DIR/" trunk/ --delete --delete-excluded
112
113
114
# Copy dotorg assets to /assets
0 commit comments