We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6285991 commit 320fa16Copy full SHA for 320fa16
.github/workflows/release.yaml
@@ -176,11 +176,6 @@ jobs:
176
# Update canonical URLs to point to versioned URLs instead of root
177
# This ensures search engines index the correct versioned documentation (only one version)
178
MAJOR_VERSION="${{ steps.prepare.outputs.major_version }}"
179
- VERSION_URL="${SITE_URL}${MAJOR_VERSION}/"
180
-
181
- find "pages" -name "*.html" -type f -exec sed -i \
182
- -e "s|<link rel=\"canonical\" href=\"https://element.siemens.io/|<link rel=\"canonical\" href=\"${VERSION_URL}|g" \
183
- {} \;
184
185
if [[ "${{ steps.prepare.outputs.deploy_latest }}" == "true" ]]; then
186
aws s3 sync --quiet --no-progress --delete "pages/" "s3://${{ env.VERSIONED_BUCKET_NAME }}/latest/"
0 commit comments