From 0219d63da3b3eed5562854ee7a4d5c237bd6aea2 Mon Sep 17 00:00:00 2001 From: Jim Daniels Wasswa Date: Wed, 3 Jan 2024 11:59:19 +0800 Subject: [PATCH] ci: only upload the build folder and not the entire project --- .github/workflows/release_production.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_production.yml b/.github/workflows/release_production.yml index b42a32db..dd1ea538 100644 --- a/.github/workflows/release_production.yml +++ b/.github/workflows/release_production.yml @@ -40,7 +40,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: build - path: . + path: build retention-days: 1 send_slack_notification: @@ -76,10 +76,13 @@ jobs: environment: Production needs: [build_and_publish] steps: + - name: Checkout + uses: actions/checkout@v4 - name: Download Build Artifact uses: actions/download-artifact@v4 with: name: build + path: build - name: Publish to Docker id: publish_to_docker uses: ./.github/actions/publish_to_docker