You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a script remote_git_pull.sh has been introduced by #55 , it aims to update the state of the local git copy on the remote server from where we deploy the website. This PR also reworks the use and names of secrets in the deployment workflow, which needed some rework for sure!
However sometimes this script fails, due to permissions or owning problems on the remote server, and is therefore really server-state dependant.
The change is recent I expect that this script will fail again in the future but I hope that less and less as the change grows old
But I don't want to patch it right now, this is the kind of bug due to permission and environment, I prefer to get a bit more of information and experience before patching it
The text was updated successfully, but these errors were encountered:
so when other users than the CI one fetch or change files they own the file, and the CI can no longer change this file
Solution
the solution:
change the umask value to 0002 so that files are created WITH the group write bit, tks to the setgid bit and the maintainer bit, all users of the maintainer group will be able to modify the files
no user other than the CI must change the files in the repo on the server
a script
remote_git_pull.sh
has been introduced by #55 , it aims to update the state of the local git copy on the remote server from where we deploy the website. This PR also reworks the use and names of secrets in the deployment workflow, which needed some rework for sure!However sometimes this script fails, due to permissions or owning problems on the remote server, and is therefore really server-state dependant.
The change is recent I expect that this script will fail again in the future but I hope that less and less as the change grows old
A possible patch would be to overwrite the return code of the command and instead just emit a GitHub Action warning
something like:
But I don't want to patch it right now, this is the kind of bug due to permission and environment, I prefer to get a bit more of information and experience before patching it
The text was updated successfully, but these errors were encountered: