Skip to content

Commit

Permalink
Add new script to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim committed May 7, 2022
1 parent 2967397 commit 84231a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion fixSearchIndex.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 84231a2

Please sign in to comment.