From ba526dba6c7188ca82fda8671f1a181e300eb52c Mon Sep 17 00:00:00 2001 From: Christian Romeni Date: Thu, 22 Jun 2023 09:56:41 +0200 Subject: [PATCH] another test --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5872497..1872e24 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,8 +43,12 @@ jobs: docker build -t $DOCKER_REPO/$IMAGE_NAME:$TAG . docker push $DOCKER_REPO/$IMAGE_NAME:$TAG docker create --name king-export $DOCKER_REPO/$IMAGE_NAME:$TAG - docker cp king-export:/usr/share/nginx/html/* - | zip > King-for-Kong-$TAG.zip + docker cp king-export:/usr/share/nginx/html ./dist docker rm king-export + + - name: zip folder + run: | + (cd ./dist && zip -r ../King-for-Kong-${{ steps.taggerDryRun.outputs.new_tag }}.zip .) # Build - name: Minor version for each merge @@ -62,4 +66,4 @@ jobs: prerelease: false title: "Release ${{ steps.taggerDryRun.outputs.new_tag }}" files: | - King-for-Kong-${{ steps.taggerDryRun.outputs.new_tag }}.zip \ No newline at end of file + ./King-for-Kong-${{ steps.taggerDryRun.outputs.new_tag }}.zip \ No newline at end of file