From 50bdea6ed3d75e9b412ee3f2cab195333e2f1dd4 Mon Sep 17 00:00:00 2001 From: chloe <44501120+chloezxyy@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:14:06 +0800 Subject: [PATCH] chore(ops): manual release tag to ecr --- .github/workflows/release-apps.yml | 4 ++-- Dockerfile | 2 +- pnpm-workspace.yaml | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-apps.yml b/.github/workflows/release-apps.yml index 75933699..603cac1e 100644 --- a/.github/workflows/release-apps.yml +++ b/.github/workflows/release-apps.yml @@ -7,8 +7,6 @@ on: branches: [main] pull_request: branches: [main] - workflow_dispatch: - branches: [main] permissions: id-token: write @@ -40,6 +38,8 @@ jobs: - run: pnpm install --frozen-lockfile +# - run: npm install semver + - uses: aws-actions/configure-aws-credentials@50ac8dd1e1b10d09dac7b8727528b91bed831ac0 # v3.0.2 with: aws-region: ap-southeast-1 diff --git a/Dockerfile b/Dockerfile index 2f6d17e5..70faa0b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN npm install -g pnpm COPY pnpm-lock.yaml ./ COPY package.json ./ -COPY . . +COPY apps ./apps EXPOSE 5741 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3b88e350..0e5a0737 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,4 +1,3 @@ packages: - "packages/*" - "apps/*" - - "docs"