Skip to content

Commit 2dd4525

Browse files
Merge pull request #14 from LegReq/multibranch
Fixed merging of branches with default
2 parents 3f5d6a3 + 18c6129 commit 2dd4525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ runs:
161161
if [[ "$branch" == "${{ inputs.default-branch }}" ]]
162162
then
163163
# Move entire _branch directory.
164-
mv _branch "../${{ inputs.pages-path }}/_branch"
164+
mv _branch "../${{ inputs.pages-path }}"
165165
else
166166
# Remove previous branch content if it exists and replace it with newly generated content.
167167
rm -rf "_branch/$branch"

0 commit comments

Comments
 (0)