diff --git a/deploy 3d.yml b/deploy 3d.yml index 0d7b6df..447871f 100644 --- a/deploy 3d.yml +++ b/deploy 3d.yml @@ -7,6 +7,10 @@ args: chdir: /var/www/nuxt/3d register: git_result + - name: npm install + shell: docker run -w /srv -v $(pwd):/srv -u $(id -u):$(id -g) --rm node:20.8 npm install + args: + chdir: /var/www/nuxt/3d - 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 args: