From 8bfed01ec91979edf14ee6a940df70afc1339b57 Mon Sep 17 00:00:00 2001 From: Bean Date: Wed, 15 May 2024 19:43:57 +0800 Subject: [PATCH] feat: update for deploy --- .dockerignore | 4 +--- .github/workflows/deploy-aliyun.yml | 2 +- Dockerfile | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.dockerignore b/.dockerignore index 6fc24e4..e067797 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,6 +1,4 @@ node_modules -npm-debug.log .nuxt .output -dist -build +.git diff --git a/.github/workflows/deploy-aliyun.yml b/.github/workflows/deploy-aliyun.yml index 9e999c2..a37d36e 100644 --- a/.github/workflows/deploy-aliyun.yml +++ b/.github/workflows/deploy-aliyun.yml @@ -7,7 +7,7 @@ on: branches: [main] jobs: - build: + build-and-push-image: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/Dockerfile b/Dockerfile index cfe8888..13f6430 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ FROM node:20-alpine -RUN npm config set registry https://registry.npmmirror.com RUN npm install -g pnpm WORKDIR /app