add static html pages into releases

This commit is contained in:
Paramtamtam 2024-07-02 23:57:47 +04:00
parent 5698daa36c
commit 746ce05ae7
No known key found for this signature in database
GPG Key ID: 366371698FAD0A2B

View File

@ -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)