-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
a9e307e
commit c25ec52
Showing
1 changed file
with
28 additions
and
28 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 |
---|---|---|
|
@@ -55,34 +55,34 @@ load _helper.deployment.bash | |
mkdir -p "${SRC_DIR}"/web/themes/custom/star_wars/node_modules | ||
touch "${SRC_DIR}"/web/themes/custom/star_wars/node_modules/test.txt | ||
|
||
# substep "Preparing remote repo directory ${REMOTE_REPO_DIR}." | ||
# fixture_prepare_dir "${REMOTE_REPO_DIR}" | ||
# git_init 1 "${REMOTE_REPO_DIR}" | ||
# | ||
# popd >/dev/null | ||
# | ||
# pushd "${CURRENT_PROJECT_DIR}" >/dev/null | ||
# | ||
# substep "Running deployment." | ||
# # This deployment uses all 3 types. | ||
# export VORTEX_DEPLOY_TYPES="artifact,webhook,container_registry" | ||
# | ||
# # Variables for ARTIFACT deployment. | ||
# export VORTEX_DEPLOY_ARTIFACT_GIT_REMOTE="${REMOTE_REPO_DIR}"/.git | ||
# export VORTEX_DEPLOY_ARTIFACT_ROOT="${CURRENT_PROJECT_DIR}" | ||
# export VORTEX_DEPLOY_ARTIFACT_SRC="${SRC_DIR}" | ||
# export VORTEX_DEPLOY_ARTIFACT_GIT_USER_EMAIL="${VORTEX_DEPLOY_ARTIFACT_GIT_USER_EMAIL:[email protected]}" | ||
# | ||
# # Variables for WEBHOOK deployment. | ||
# export VORTEX_DEPLOY_WEBHOOK_URL=http://example.com | ||
# export VORTEX_DEPLOY_WEBHOOK_RESPONSE_STATUS=200 | ||
# | ||
# # Variables for container registry deployment. | ||
# # @todo: Not implemented. Add here when implemented. | ||
# | ||
# # Run deployment. | ||
# run ahoy deploy | ||
# assert_success | ||
substep "Preparing remote repo directory ${REMOTE_REPO_DIR}." | ||
fixture_prepare_dir "${REMOTE_REPO_DIR}" | ||
git_init 1 "${REMOTE_REPO_DIR}" | ||
|
||
popd >/dev/null | ||
|
||
pushd "${CURRENT_PROJECT_DIR}" >/dev/null | ||
|
||
substep "Running deployment." | ||
# This deployment uses all 3 types. | ||
export VORTEX_DEPLOY_TYPES="artifact,webhook,container_registry" | ||
|
||
# Variables for ARTIFACT deployment. | ||
export VORTEX_DEPLOY_ARTIFACT_GIT_REMOTE="${REMOTE_REPO_DIR}"/.git | ||
export VORTEX_DEPLOY_ARTIFACT_ROOT="${CURRENT_PROJECT_DIR}" | ||
export VORTEX_DEPLOY_ARTIFACT_SRC="${SRC_DIR}" | ||
export VORTEX_DEPLOY_ARTIFACT_GIT_USER_EMAIL="${VORTEX_DEPLOY_ARTIFACT_GIT_USER_EMAIL:-testuser@example.com}" | ||
|
||
# Variables for WEBHOOK deployment. | ||
export VORTEX_DEPLOY_WEBHOOK_URL=http://example.com | ||
export VORTEX_DEPLOY_WEBHOOK_RESPONSE_STATUS=200 | ||
|
||
# Variables for container registry deployment. | ||
# @todo: Not implemented. Add here when implemented. | ||
|
||
# Run deployment. | ||
run ahoy deploy | ||
assert_success | ||
# | ||
# # | ||
# # Artifact deployment assertions. | ||
|
c25ec52
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Deployed on https://66de40b721f96a910a9da302--vortex-docs.netlify.app