From e00ee5d81ad5098f98cdf1cc9647a5cfca33605a Mon Sep 17 00:00:00 2001 From: xRain Date: Tue, 22 Aug 2023 12:01:39 +0800 Subject: [PATCH] test --- action.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 408fd29..c3e727c 100644 --- a/action.yml +++ b/action.yml @@ -6,17 +6,15 @@ runs: steps: - uses: docker://node:18 with: - entrypoint: '/bin/bash' + entrypoint: ["/bin/bash","-c"] args: | - -c npm install npm run build -- --outputPath=dist - uses: docker://docker:git with: - entrypoint: '/bin/sh' + entrypoint: ["/bin/bash","-c"] args: | - -c echo "FROM nginx:alpine" > Dockerfile echo "COPY dist /usr/share/nginx/html" >> Dockerfile echo "WORKDIR /usr/share/nginx/html/" >> Dockerfile