Skip to content

Commit

Permalink
Revert directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Dikhoff committed Oct 25, 2024
1 parent 6b8e0a1 commit bf5821d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ fi
GIT_COMMIT_MESSAGE="branch $GIT_BRANCH on $DATE"
GIT_LIVE_BRANCH=${2:-develop}

INPUT_DIR="$WORK_DIR"
MIGRATE_DIR="$WORK_DIR/_migrated"
SPHINX_DIR="$WORK_DIR/_sphinx"
REPO_DIR="~/_repo"
INPUT_DIR="."
MIGRATE_DIR="_migrated"
SPHINX_DIR="_sphinx"
REPO_DIR="_repo"

LIVE_ROOT="redot-docs-live"
LIVE_REPO="[email protected]:Redot-Engine/$LIVE_ROOT.git"
Expand Down Expand Up @@ -74,13 +74,13 @@ fi
git config --global core.pager cat
git config --list

echo "Checking out $GIT_LIVE_BRANCH"
cd $REPO_DIR
echo "Checking out $GIT_LIVE_BRANCH"
git checkout $GIT_LIVE_BRANCH
echo "mkdir -p $BUILD_DIR"
mkdir -p $BUILD_DIR
echo "cp -r $SPHINX_DIR/* $BUILD_DIR"
cp -r $SPHINX_DIR/* $BUILD_DIR
echo "cp -r ../$SPHINX_DIR/* $BUILD_DIR"
cp -r ../$SPHINX_DIR/* $BUILD_DIR

echo "Commit and push to $GIT_LIVE_BRANCH, with message $GIT_COMMIT_MESSAGE"
git add .
Expand Down

0 comments on commit bf5821d

Please sign in to comment.