Skip to content

Commit 993afe5

Browse files
authored
Merge pull request #6 from luke-b/copilot/fix-404-readme-latest-build-badge
fix: point README badge to stable `demo/build/latest/` instead of volatile commit SHA
2 parents 86d47a5 + ab53c81 commit 993afe5

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/borland-dos-pipeline.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,7 @@ jobs:
225225

226226
- name: Update demo link in README.md
227227
run: |
228-
SHORT_SHA="${{ steps.sha.outputs.short }}"
229-
DEMO_URL="https://luke-b.github.io/DosTest/demo/build/${SHORT_SHA}/"
228+
DEMO_URL="https://luke-b.github.io/DosTest/demo/build/latest/"
230229
BADGE_LINE="[![Play latest build](https://img.shields.io/badge/Play-Latest%20Build-brightgreen)](${DEMO_URL})"
231230
BLOCK="<!-- DEMO_LINK -->\n${BADGE_LINE}\n<!-- /DEMO_LINK -->"
232231

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Wolfenstein 3D Build with DOSBox-X and Borland C++ on GitHub Actions
22

33
<!-- DEMO_LINK -->
4-
[![Play latest build](https://img.shields.io/badge/Play-Latest%20Build-brightgreen)](https://luke-b.github.io/DosTest/demo/build/81daf9b/)
4+
[![Play latest build](https://img.shields.io/badge/Play-Latest%20Build-brightgreen)](https://luke-b.github.io/DosTest/demo/build/latest/)
55
<!-- /DEMO_LINK -->
66

77
This repository contains a setup to build the classic Wolfenstein 3D shareware source code using DOSBox-X and Borland C++ within a GitHub Actions pipeline. The built executable can then be run using js-dos, making it accessible through a web browser.

0 commit comments

Comments
 (0)