Skip to content

Commit

Permalink
DOC-2220: Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchC1999 committed Dec 19, 2023
1 parent f638b84 commit 15aa213
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 @@ -12,13 +12,13 @@ DEST_VERSION=6
DEST_DIR="$SITE_DIR/$DEST_VERSION/"

echo -e "\nRemoving existing $SITE_DIR directory."
rm -rf "$BUILD_DIR"
rm -rf "$SITE_DIR"

echo -e "\nGenerating antora documentation."
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 15aa213

Please sign in to comment.