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 34ae3c4 commit bd439a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/capture_new_migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ jobs:
run: |
echo "Running the LMS migrations."
./manage.py lms migrate
echo "Running the CMS migrations."
./manage.py cms migrate
# echo "Running the CMS migrations."
# ./manage.py cms migrate

# - name: "Setup env vars"
# id: envvars
Expand All @@ -141,7 +141,7 @@ jobs:
shell: bash
run: |
query_result1=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select count(*) from django_migrations;;" edxapp;)
numeric_result=$(echo "$query_result" | sed 's/[^0-9]*//g')
numeric_result=$(echo "query_result1" | sed 's/[^0-9]*//g')
echo "Numeric Result: $numeric_result"
echo "FIRST_QUERY=$numeric_result" >> $GITHUB_ENV
Expand Down

0 comments on commit bd439a1

Please sign in to comment.