Skip to content

Commit

Permalink
Fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Nov 12, 2024
1 parent 06ddc59 commit 4bb3e0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ jobs:
working-directory: redmine
run: |
sudo useradd --create-home git
chmod -R a+rwX $GITHUB_WORKSPACE/gitolite
chmod a+x $GITHUB_WORKSPACE/gitolite/install
sudo -n -u git -i mkdir bin
sudo -n -u git -i perl $GITHUB_WORKSPACE/gitolite/install -to /home/git/bin
sudo -n -u git -i $GITHUB_WORKSPACE/gitolite/install -to /home/git/bin
sudo cp plugins/redmine_git_hosting/ssh_keys/redmine_gitolite_admin_id_rsa.pub /home/git/
sudo chown git.git /home/git/redmine_gitolite_admin_id_rsa.pub
sudo -n -u git -i bin/gitolite setup -pk redmine_gitolite_admin_id_rsa.pub
Expand Down

0 comments on commit 4bb3e0f

Please sign in to comment.