Skip to content

Commit

Permalink
Update deploy website script with new folder location for api.json
Browse files Browse the repository at this point in the history
  • Loading branch information
omckeon committed Feb 2, 2025
1 parent 6108c24 commit 03ad9a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/scripts/deploy-website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fi
git clone --branch "$BRANCH" "https://github.com/$USER/$REPO_NAME.git" "$SK_OUT/$REPO_NAME"

# Copy the api.json to the website repository
cp "$SK_GENERATED/docs/api.json" "$SK_OUT/$REPO_NAME/scripts/"
cp "$SK_GENERATED/docs/api.json" "$SK_OUT/$REPO_NAME/scripts/json-files/"

# Navigate to the website repository
cd "$SK_OUT/$REPO_NAME" || exit
Expand All @@ -48,7 +48,7 @@ cd "$SK_OUT/$REPO_NAME" || exit
git checkout "$BRANCH" || exit

# Commit and push changes
git add scripts/api.json
git add scripts/json-files/api.json
git commit -m "Update api.json"
git push origin "$BRANCH"

Expand Down

0 comments on commit 03ad9a5

Please sign in to comment.