Skip to content

Commit 46b5976

Browse files
jaiselrahmanJamesIves
authored andcommitted
Use $BASE_BRANCH instead of master (#7)
* Use $BASE_BRANCH instead of master * Set master as default to $BASE_BRANCH
1 parent 7083c85 commit 46b5976

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ echo "Deploying to GitHub..." && \
7474
git add -f $FOLDER && \
7575

7676
git commit -m "Deploying to ${BRANCH} - $(date +"%T")" && \
77-
git push $REPOSITORY_PATH `git subtree split --prefix $FOLDER master`:$BRANCH --force && \
78-
echo "Deployment succesful!"
77+
git push $REPOSITORY_PATH `git subtree split --prefix $FOLDER ${BASE_BRANCH:-master}`:$BRANCH --force && \
78+
echo "Deployment succesful!"

0 commit comments

Comments
 (0)