diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5d74c92c..1520a972 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,6 +21,7 @@ jobs: - name: Build the website run: | bash ./build.sh + ./fixSearchIndex.swift - name: Configure AWS credentials id: cred uses: aws-actions/configure-aws-credentials@v1 diff --git a/fixSearchIndex.swift b/fixSearchIndex.swift index de5e9077..78329a5c 100755 --- a/fixSearchIndex.swift +++ b/fixSearchIndex.swift @@ -29,7 +29,7 @@ struct SearchIndexDocs: Codable { let title: String } -let searchIndexPath = "site/4.0/search/search_index.json" +let searchIndexPath = "4.0/site/search/search_index.json" let fileURL = URL(fileURLWithPath: searchIndexPath) let indexData = try Data(contentsOf: fileURL)