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