action icon indicating copy to clipboard operation
action copied to clipboard

Replace the app files atomically and docker stop first before starting up for succeeding commits

Open asakapab0i opened this issue 1 year ago • 4 comments

In django application, everytime a commit is added and the action triggers the script it loses the link to the original files and I think its because in the script it deletes and replace the app files.

So I added two things to ensure that the refreshed files are properly loaded.

  • Replace the app files atomically
  • Use docker restart instead of up

Let me know your thoughts.

asakapab0i avatar Jan 29 '24 04:01 asakapab0i