--- - name: deploy 3d hosts: all tasks: - name: Go to the 3d directory command: chdir=/var/www/nuxt/3d git pull origin master register: git_result - name: build source command: chdir=/var/www/nuxt/3d docker run -w /srv -v $(pwd):/srv -u $(id -u ${USER}):$(id -g ${USER}) --rm node:20.8 npm run buil