-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update tests to use site-generator-beta
the site-generator-beta is the new aep website. Use that in CI instead of the old one.
- Loading branch information
1 parent
39e5180
commit 9bb508d
Showing
4 changed files
with
25 additions
and
32 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
export AEP_LOCATION="${PWD}" | ||
export SG_DIRECTORY="/tmp/site-generator-beta" | ||
AEP_LINTER_LOC="${SG_DIRECTORY}/api-linter" | ||
if [ ! -d "${SG_DIRECTORY}" ]; then | ||
git clone https://github.com/aep-dev/site-generator-beta.git "${SG_DIRECTORY}" | ||
fi | ||
|
||
if [ ! -d "${AEP_LINTER_LOC}" ]; then | ||
git clone https://github.com/aep-dev/api-linter.git "${AEP_LINTER_LOC}" | ||
fi | ||
cd "${SG_DIRECTORY}" || exit | ||
# make rules / website folder | ||
mkdir -p src/content/docs/tooling/linter/rules | ||
mkdir -p src/content/docs/tooling/website | ||
npm install | ||
npm run generate |
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,4 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
. ./scripts/build.sh | ||
npm run preview |