Skip to content

Commit

Permalink
Back to test phase
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic committed Oct 4, 2024
1 parent d4875b8 commit e296d55
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/updateSchemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ jobs:
ES_INDEX_LIVE: ${{ secrets.ES_INDEX_LIVE }}
run: |
INDEX_TEST="True"
if [[ ${{ steps.determine-trigger.outputs.run_test }} == "False" ]]; then
if [[ ${{ steps.determine-trigger.outputs.run_test }} == "false" ]]; then
INDEX_TEST="False"
fi
echo "Index test set to $INDEX_TEST"
if [[ ${{ github.event.inputs.select_index }} == "Live" ]]; then
echo "Uploading and indexing to Live."
python -u scripts/update_schemas.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.inputs.release_version }} ${{ secrets.ES_INDEX_LIVE }} "$INDEX_TEST"
else
echo "Uploading and indexing to Test and Live."
python -u scripts/update_schemas.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.inputs.release_version }} ${{ secrets.ES_INDEX_TEST }} "$INDEX_TEST"
fi
# if [[ ${{ github.event.inputs.select_index }} == "Live" ]]; then
# echo "Uploading and indexing to Live."
# python -u scripts/update_schemas.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.inputs.release_version }} ${{ secrets.ES_INDEX_LIVE }} "$INDEX_TEST"
# else
# echo "Uploading and indexing to Test and Live."
# python -u scripts/update_schemas.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.inputs.release_version }} ${{ secrets.ES_INDEX_TEST }} "$INDEX_TEST"
# fi

0 comments on commit e296d55

Please sign in to comment.