From 2475a006220a501eb05bb815512b8a5c864b0971 Mon Sep 17 00:00:00 2001 From: Yeicor <4929005+Yeicor@users.noreply.github.com> Date: Sun, 3 Mar 2024 20:45:12 +0100 Subject: [PATCH] improve release asset --- .github/workflows/deploy.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 48796d4..8b1b08a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -35,19 +35,19 @@ jobs: name: "logo" path: "./public" allow_forks: false - - uses: "svenstaro/upload-release-action@v2" - with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - file: "./public/*" - asset_name: "frontend" - tag: "${{ github.ref }}" - overwrite: true - file_glob: true - uses: "actions/configure-pages@v4" - uses: "actions/upload-pages-artifact@v3" with: path: 'public' - id: "deployment" uses: "actions/deploy-pages@v4" + - run: 'zip -r frontend.zip public' + - uses: "svenstaro/upload-release-action@v2" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + file: "frontend.zip" + asset_name: "frontend" + tag: "${{ github.ref }}" + overwrite: true # TODO: deploy-backend