diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 659106b1e..102884d3f 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -1 +1,11 @@ -# Troublesshooting \ No newline at end of file +# Troublesshooting +## How to deploy actions on ubuntu runners +We use `sudo` command to run `apt/apt-get` and install systemdependencies. If you are using a un-priviledged user account, the easist way is edit `sudoers`. +- You should switch to root and enter: +```bash +visudo +``` +- Then add this line into it: +```txt +%your_user_name ALL=(ALL:ALL) NOPASSWD:/usr/bin/apt,/usr/bin/apt-get +```