Skip to content

Commit

Permalink
DOC-2220: Fix incorrect content copy command (#3035)
Browse files Browse the repository at this point in the history
* DOC-2220: Update

* DOC-2220: Testing

* DOC-2220: Testing site removal

* DOC-2220: Testing generation

* DOC-2220: Fix incorrect site generation
  • Loading branch information
MitchC1999 authored Dec 19, 2023
1 parent 5f0a7d7 commit 0e7e969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions -scripts/generate-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ SITE_DIR="$BUILD_DIR/site/tinymce"

SOURCE_VERSION="latest"
SOURCE_DIR="$SITE_DIR/$SOURCE_VERSION/"

DEST_VERSION=6
DEST_DIR="$SITE_DIR/$DEST_VERSION/"

Expand All @@ -20,6 +19,7 @@ antora "$PLAYBOOK"

echo -e "\nCopying all $SOURCE_VERSION content to $DEST_VERSION directory."
mkdir "$DEST_DIR"
cp -a "$SOURCE_DIR" "$DEST_DIR"

cp -a "$SOURCE_DIR." "$DEST_DIR"

echo "$DEST_VERSION site now in sync with $SOURCE_VERSION."

0 comments on commit 0e7e969

Please sign in to comment.