Skip to content

Commit

Permalink
Try git push
Browse files Browse the repository at this point in the history
  • Loading branch information
adikhoff committed Oct 16, 2024
1 parent 7e27844 commit c15eb12
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/bash

INPUT_DIR=$1
OUTPUT_DIR=$2
INPUT_DIR="."
OUTPUT_DIR="_temp/html"

MIG_DIR="./_migrated"
BUILD_DIR="redot-docs-build"
BRANCH_DIR="$/en/master"

touch test.txt
echo 'hello' >> test.txt
Expand All @@ -17,7 +18,9 @@ sphinx-build -b html -j 4 $MIG_DIR $OUTPUT_DIR

git clone [email protected]:Redot-Engine/$BUILD_DIR.git

cp -r $MIG_OUTPUT_DIR/* $BUILD_DIR/en/master
mkdir -p $BUILD_DIR$BRANCH_DIR
cp -r $MIG_OUTPUT_DIR/* $BUILD_DIR$BRANCH_DIR

cd $BUILD_DIR
ls -la
git push -f

0 comments on commit c15eb12

Please sign in to comment.