vercel-azure-devops-extension icon indicating copy to clipboard operation
vercel-azure-devops-extension copied to clipboard

Extremely complex deployment if using a self-hosted agent pool

Open Marko97IT opened this issue 1 year ago • 0 comments

Using the task instead of the script might seem advantageous but if you don't specify the requirements that the machine functioning as the agent pool must have then it makes no sense. Below are the commands I used to finally deploy after hours and hours of attempts in a Ubuntu 22.04 agent pool self-hosted machine:

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt install -y nodejs sudo chown -R $(whoami):$(whoami) /usr/local/lib/node_modules sudo chown -R $(whoami):$(whoami) /usr/bin

Marko97IT avatar Jun 21 '24 09:06 Marko97IT