We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8403b9 commit 58e0316Copy full SHA for 58e0316
1 file changed
.github/workflows/check-database-migrations.yml
@@ -79,8 +79,8 @@ jobs:
79
# List the output of the conf directory
80
ls -al ${{ github.workspace }}/pr-branch/server/conf
81
# Replace the db_path variable in the settings file to the file in the mount directory
82
- jq '.db_path = "sqlite:///${{ github.workspace }}/pr-branch/server/conf/digiscript.sqlite"' ./conf/digiscript.json > /conf/digiscript.json.tmp
83
- mv /conf/digiscript.json.tmp /conf/digiscript.json
+ jq '.db_path = "sqlite:///${{ github.workspace }}/pr-branch/server/conf/digiscript.sqlite"' ./conf/digiscript.json > ./conf/digiscript.json.tmp
+ mv ./conf/digiscript.json.tmp ./conf/digiscript.json
84
85
# First, run all migrations to make sure the database file is updated
86
python -m alembic upgrade head
0 commit comments