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 Nov 1, 2023
1 parent a97f8d4 commit 15af0d1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/capture_new_migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,11 @@ jobs:
- name: Process Data
run: |
echo "echo ${{ env.SECOND_QUERY }}"
echo "echo ${{ env.FIRST_QUERY }}"
number1=${{ env.SECOND_QUERY }}
number2=${{ env.FIRST_QUERY }}
diff=$((number1 - number2))
data=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app, name from django_migrations ORDER by -id limit $diff;" edxapp;)
formatted_data=$(echo "$data" | tr '\t' ' ')
echo "echo ${{ formatted_data }}"
# echo "CUSTOM_MESSAGE=$formatted_data" >> $GITHUB_ENV
echo "$formatted_data" > multi_line_data.txt
shell: bash
Expand Down

0 comments on commit 15af0d1

Please sign in to comment.