-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63f2854
commit 568350a
Showing
6 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
PLAYBOOK="$1" | ||
|
||
BUILD_DIR="build/site/tinymce" | ||
|
||
SOURCE_VERSION="latest" | ||
SOURCE_DIR="$BUILD_DIR/$SOURCE_VERSION/" | ||
|
||
DEST_VERSION=6 | ||
DEST_DIR="$BUILD_DIR/$DEST_VERSION/" | ||
|
||
rm -rf "$BUILD_DIR" | ||
antora "$PLAYBOOK" | ||
|
||
echo -e "\nCopying $SOURCE_VERSION build to $DEST_VERSION directory." | ||
|
||
mkdir "$DEST_DIR" | ||
|
||
cp -a "$SOURCE_DIR." "$DEST_DIR" | ||
|
||
echo "$DEST_VERSION site now in sync with $SOURCE_VERSION." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters