From 746ce05ae7baeac0269e1649f0915322f493b13a Mon Sep 17 00:00:00 2001 From: Paramtamtam <7326800+tarampampam@users.noreply.github.com> Date: Tue, 2 Jul 2024 23:57:47 +0400 Subject: [PATCH] add static html pages into releases --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 04b7d2b6..66084365 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,6 +44,16 @@ jobs: path: out/ if-no-files-found: error retention-days: 1 + - if: matrix.os == 'linux' && matrix.arch == 'amd64' + working-directory: ./out + run: zip -r ./../templates.zip . + - if: matrix.os == 'linux' && matrix.arch == 'amd64' + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: templates.zip + asset_name: error-pages-static.zip + tag: ${{ github.ref }} demo: name: Update the demo (GitHub Pages)