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