-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added parameter for collections to be build; testing possibilit…
…y to define them in pull request
- Loading branch information
1 parent
f69d7b5
commit 019281b
Showing
2 changed files
with
45 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,14 +27,24 @@ jobs: | |
run: | | ||
pip install -U pip | ||
pip install -r generators/requirements.txt | ||
- name: Build | ||
- if: github.event.pull_request.body==all | ||
name: Build all | ||
env: | ||
SH_INSTANCE_ID: ${{ secrets.SH_INSTANCE_ID }} | ||
SH_CLIENT_ID: ${{ secrets.SH_CLIENT_ID }} | ||
SH_CLIENT_SECRET: ${{ secrets.SH_CLIENT_SECRET }} | ||
run: | | ||
cd generators/ | ||
python generate_indicators.py -ni | ||
python generate_indicators.py | ||
- if: github.event.pull_request.body!=all | ||
name: Build only specified collections | ||
env: | ||
SH_INSTANCE_ID: ${{ secrets.SH_INSTANCE_ID }} | ||
SH_CLIENT_ID: ${{ secrets.SH_CLIENT_ID }} | ||
SH_CLIENT_SECRET: ${{ secrets.SH_CLIENT_SECRET }} | ||
run: | | ||
cd generators/ | ||
python generate_indicators.py -c ${{ github.event.pull_request.body }} | ||
# Upload build to S3 | ||
- name: sync client s3 | ||
uses: jakejarvis/[email protected] | ||
|
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