From ad2420775eaa4c0202ee09f15d60d3bebb35ac8b Mon Sep 17 00:00:00 2001 From: xRain Date: Tue, 28 Apr 2026 19:48:26 +0800 Subject: [PATCH] fix ci --- action.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/action.yml b/action.yml index a8a4c2b..4b07f73 100644 --- a/action.yml +++ b/action.yml @@ -18,18 +18,6 @@ runs: with: entrypoint: "/bin/bash" args: | - -c 'echo "FROM nginx:alpine" > Dockerfile && \ - echo "COPY dist /usr/share/nginx/html" >> Dockerfile && \ - echo "RUN cat > /etc/nginx/conf.d/default.conf <<\"EOF\"" >> Dockerfile && \ - echo "server {" >> Dockerfile && \ - echo " listen 80;" >> Dockerfile && \ - echo " root /usr/share/nginx/html;" >> Dockerfile && \ - echo " index index.html;" >> Dockerfile && \ - echo " location / {" >> Dockerfile && \ - echo " try_files $$uri $$uri/ /index.html;" >> Dockerfile && \ - echo " }" >> Dockerfile && \ - echo "}" >> Dockerfile && \ - echo "EOF" >> Dockerfile && \ - cat Dockerfile' + -c 'cp "${{ github.action_path }}/nginx.conf" ./ && cp "${{ github.action_path }}/vue.Dockerfile" ./Dockerfile' - uses: actions/docker-build-push@main