Right now the EPUB is generated everytime buildTestDeploy.yml runs, though nothing changes in the book, the compression process itself actually gives a different file everytime, just a few bytes of difference, but enough to push this "new" file on the main branch everytime.
This slight modification of buildTestDeploy.yml aims at checking if there are actual changes in the translations or comments by checking if there are changes in python/generated/suttas-database-data.json and only then generate a new EPUB.
Right now the EPUB is generated everytime buildTestDeploy.yml runs, though nothing changes in the book, the compression process itself actually gives a different file everytime, just a few bytes of difference, but enough to push this "new" file on the main branch everytime.
This slight modification of buildTestDeploy.yml aims at checking if there are actual changes in the translations or comments by checking if there are changes in
python/generated/suttas-database-data.json
and only then generate a new EPUB.