This commit is contained in:
xRain 2023-08-22 12:02:32 +08:00
parent e00ee5d81a
commit db9049c457

View File

@ -6,14 +6,14 @@ runs:
steps:
- uses: docker://node:18
with:
entrypoint: ["/bin/bash","-c"]
entrypoint: "/bin/bash -c"
args: |
npm install
npm run build -- --outputPath=dist
- uses: docker://docker:git
with:
entrypoint: ["/bin/bash","-c"]
entrypoint: "/bin/bash -c"
args: |
echo "FROM nginx:alpine" > Dockerfile
echo "COPY dist /usr/share/nginx/html" >> Dockerfile