--- - name: Deploy 3d hosts: all tasks: - name: Perform deployment tasks in the 3d directory block: - name: Pull the latest code shell: git pull origin master register: git_result - name: Build source with Docker shell: docker run -w /srv -v $(pwd):/srv -u $(id -u):$(id -g) --rm node:20.8 npm run build - name: down container shell: docker compose down - name: start container shell: docker compose up -d args: chdir: /var/www/nuxt/3d