Skip to content

Commit 58e0316

Browse files
committed
Fix relative paths
1 parent a8403b9 commit 58e0316

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/check-database-migrations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
# List the output of the conf directory
8080
ls -al ${{ github.workspace }}/pr-branch/server/conf
8181
# 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
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
8484
8585
# First, run all migrations to make sure the database file is updated
8686
python -m alembic upgrade head

0 commit comments

Comments
 (0)