Skip to content

Commit

Permalink
Fix link / package name in GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
arnested committed Jan 7, 2021
1 parent 94ca478 commit 52a8612
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
output_files: '["deb/index.html"]'
builtin_stylesheet: base.css
extensions: '["extra"]'
- name: Fix link / package name in GitHub Pages
run: |
DEB=$(grep linux_amd64.deb dist/checksums.txt | awk '{print $2}')
sed -i "s/ldddns_.*_linux_amd64.deb/<a href=\"https:\/\/github.com\/arnested\/ldddns\/releases\/latest\/download\/${DEB}\">${DEB}<\/a>/" deb/index.html
- name: Add install script to GitHub Pages
run: cp -v install.sh deb/install.sh
- name: Deploy deb packages
Expand Down

0 comments on commit 52a8612

Please sign in to comment.