Skip to content

Commit

Permalink
fix: create database.sqlite file if non-existent on prod
Browse files Browse the repository at this point in the history
  • Loading branch information
sparky-raccoon committed Jan 15, 2024
1 parent 9476aac commit d14855b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Stop previous epitome pm2 process
run: pm2 delete epitome 2> /dev/null || true
- name: Create a database backup
run: cp ~/apps/database.sqlite ~/.epitome.database.sqlite.backup
run: touch ~/apps/database.sqlite && cp ~/apps/database.sqlite ~/.epitome.database.sqlite.backup
- name: Prepare application directory
run: rm -rf ~/apps/epitome && mkdir ~/apps/epitome
- name: Move build contents & dependencies to application directory
Expand Down

0 comments on commit d14855b

Please sign in to comment.