Skip to content

Commit f7a77a1

Browse files
committed
Do not create releases in build workflow
1 parent c3f0f7a commit f7a77a1

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,4 @@ jobs:
3838
uses: JamesIves/github-pages-deploy-action@v4
3939
with:
4040
branch: gh-pages # The branch you want to deploy to
41-
folder: dist # The folder to deploy from
42-
43-
# Create release zip from error pages
44-
- name: Create release zip
45-
run: zip -r error-pages.zip dist
46-
47-
# Upload the release zip to the release
48-
- name: Create release
49-
uses: softprops/action-gh-release@v2
50-
with:
51-
files: error-pages.zip
52-
tag_name: "{{ github.sha }}"
41+
folder: dist # The folder to deploy from

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ Here's a list of all available error pages and their demo links:
1313
| `401` | `401.html` | Unauthorized | [Demo 401](https://tobidi0410.github.io/error-pages/http-401.html) |
1414
| `404` | `404.html` | Page Not Found | [Demo 404](https://tobidi0410.github.io/error-pages/http-404.html) |
1515
| `502` | `502.html` | Bad Gateway | [Demo 502](https://tobidi0410.github.io/error-pages/http-502.html) |
16+
17+
Download from GitHub Pages Branch: [Download](https://github.com/ToBiDi0410/error-pages/archive/refs/heads/gh-pages.zip)
1618
---

0 commit comments

Comments
 (0)