Skip to content

Commit

Permalink
build: capturing new migrations.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Oct 31, 2023
1 parent c3e30ad commit f98b183
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/capture_new_migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,9 @@ jobs:
number2=${{ env.FIRST_QUERY }}
diff=$((number1 - number2))
result=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app, name from django_migrations ORDER by -id limit $diff;" edxapp;)
echo "Query Result: $result"
echo "CUSTOM_MESSAGE=$result" >> $GITHUB_ENV
formatted_data=$(echo "$data" | tr '\t' ' ')
echo "Query Result: formatted_data"
echo "CUSTOM_MESSAGE=formatted_data" >> $GITHUB_ENV
shell: bash

- name: Comment PR
Expand Down

0 comments on commit f98b183

Please sign in to comment.