Skip to content

Commit 7004333

Browse files
authored
ci: support slashes in branch names for deploy workflow (#2178)
2 parents 4ad8cef + 8fa5666 commit 7004333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy_branches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
run: if [ -d "${BRANCH_NAME}" ] ; then rm -rf "${BRANCH_NAME}" ; fi
7272
working-directory: ./server
7373
- name: Copy in the newly built source
74-
run: mkdir "./server/${BRANCH_NAME}" && cp -r "./source/_build/default/src/web/www"/* "./server/${BRANCH_NAME}"
74+
run: mkdir -p "./server/${BRANCH_NAME}" && cp -r "./source/_build/default/src/web/www"/* "./server/${BRANCH_NAME}"
7575
- name: Commit to the website aka deploy
7676
run: |
7777
git config user.name github-deploy-action

0 commit comments

Comments
 (0)