aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deploy-docs.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/deploy-docs.sh b/scripts/deploy-docs.sh
index 008d571..cd877cd 100755
--- a/scripts/deploy-docs.sh
+++ b/scripts/deploy-docs.sh
@@ -33,7 +33,6 @@ main() {
fetch_existing_site
build_version "$version"
update_versions_manifest
- copy_version_assets
package_site
deploy_to_pages "$version"
}
@@ -93,15 +92,6 @@ update_versions_manifest() {
log_success "Versions manifest updated with $version_count version(s)"
}
-copy_version_assets() {
- log_step "Copying version selector assets"
- # Copy the JS file that was built into each version to the root
- if [[ -f "$BUILD_DIR/latest/js/version-selector.js" ]]; then
- cp "$BUILD_DIR/latest/js/version-selector.js" "$BUILD_DIR/version-selector.js"
- log_success "Version selector copied to root"
- fi
-}
-
package_site() {
log_step "Creating tarball"
tar -C "$BUILD_DIR" -czf site.tar.gz .