-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from razorpay/edge
Update packages
- Loading branch information
Showing
4 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
cd /action | ||
|
||
echo "cloning protobuf files" | ||
bash /sparse-checkout.sh | ||
bash sparse-checkout.sh | ||
|
||
echo "generating swagger docs" | ||
cd / && buf beta mod update && buf generate | ||
buf mod update && buf generate | ||
|
||
echo "combining swagger docs into 1 file" | ||
bash /combine_swagger_docs.sh /docs | ||
bash combine_swagger_docs.sh docs | ||
|
||
echo "create repo/branch dir structure" | ||
mkdir -p /_docs/${GITHUB_REPOSITORY#*/} && mv combined.json /_docs/${GITHUB_REPOSITORY#*/}/${GITHUB_REF##*/}.json | ||
|
||
|
||
echo "upload to s3" | ||
bash /upload_to_s3.sh | ||
bash upload_to_s3.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters