mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
add static html pages into releases
This commit is contained in:
parent
5698daa36c
commit
746ce05ae7
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -44,6 +44,16 @@ jobs:
|
|||||||
path: out/
|
path: out/
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 1
|
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:
|
demo:
|
||||||
name: Update the demo (GitHub Pages)
|
name: Update the demo (GitHub Pages)
|
||||||
|
Loading…
Reference in New Issue
Block a user