From 14dfbf545e3f1c355175899866c59a2aac487b1b Mon Sep 17 00:00:00 2001 From: omidshj Date: Mon, 26 Aug 2024 15:16:37 +0330 Subject: [PATCH] test 3d build --- deploy 3d.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy 3d.yml b/deploy 3d.yml index ca8148c..18b9ac4 100644 --- a/deploy 3d.yml +++ b/deploy 3d.yml @@ -4,4 +4,7 @@ tasks: - name: Go to the 3d directory command: chdir=/var/www/nuxt/3d git pull origin master - register: git_result \ No newline at end of file + 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 \ No newline at end of file