Skip to content

Commit

Permalink
add static html pages into releases
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed Jul 2, 2024
1 parent 5698daa commit 746ce05
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 746ce05

Please sign in to comment.