Skip to content

Commit

Permalink
Update gh-runner.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
skrdgraph authored Sep 30, 2022
1 parent 99a7739 commit a30ebdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/gh-runner/gh-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tar xzf ./actions-runner-linux-x64-2.296.2.tar.gz
# CI Permission Issue
sudo touch /etc/cron.d/ci_permissions_resetter
sudo chown $USER:$USER /etc/cron.d/ci_permissions_resetter
sudo echo "* * * * * root for i in {1..59}; do chown -R $USER:$USER /home/ubuntu/actions-runner/_work & sleep 1; done" > /etc/cron.d/ci_permissions_resetter
sudo echo "* * * * * root for i in {0..60}; do chown -R $USER:$USER /home/ubuntu/actions-runner/_work & sleep 1; done" > /etc/cron.d/ci_permissions_resetter
sudo chown root:root /etc/cron.d/ci_permissions_resetter
# Start GH Actions
sudo ./svc.sh install
Expand Down

0 comments on commit a30ebdd

Please sign in to comment.