Skip to content

Commit 577bbb3

Browse files
authored
Merge pull request #1 from CoolSpring8/codex/change-release-asset-to-iaslate.html
ci: publish iaslate html asset
2 parents 86f79e6 + 89a40d2 commit 577bbb3

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,17 @@ jobs:
2727
bun build-dist
2828
test -f dist/index.html
2929
30-
- name: Embed version
30+
- name: Embed version and copy release asset
3131
run: |
3232
ver="${GITHUB_REF_NAME}"
3333
printf '\n<!-- version: %s commit: %s -->\n' "$ver" "$GITHUB_SHA" >> dist/index.html
34+
cp dist/index.html dist/iaslate.html
35+
test -f dist/iaslate.html
3436
3537
- name: Generate checksum
3638
run: |
3739
cd dist
38-
sha256sum index.html | tee index.sha256
40+
sha256sum iaslate.html | tee iaslate.sha256
3941
4042
- name: Upload job artifact
4143
uses: actions/upload-artifact@v4
@@ -69,13 +71,13 @@ jobs:
6971
prerelease: ${{ contains(github.ref_name, 'beta') || contains(github.ref_name, 'rc') }}
7072
generate_release_notes: true
7173
files: |
72-
dist/index.html
73-
dist/index.sha256
74+
dist/iaslate.html
75+
dist/iaslate.sha256
7476
7577
- name: Attest build provenance
7678
uses: actions/attest-build-provenance@v3
7779
with:
78-
subject-path: "dist/index.html"
80+
subject-path: "dist/iaslate.html"
7981

8082
deploy_pages:
8183
needs: build

0 commit comments

Comments
 (0)