diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-11 11:13:36 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-11 11:13:36 -0400 |
| commit | a46be6782e29dee9332a4743bc8808136f6e43cf (patch) | |
| tree | 750c3b451ccae671cfa291d278da17bfa4a4d6c7 /scripts | |
| parent | Add support for versioned docs (diff) | |
| download | cli-a46be6782e29dee9332a4743bc8808136f6e43cf.zip | |
Fix js file not in build
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/deploy-docs.sh | 10 |
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 . |