2 Commits

Author SHA1 Message Date
6ad8b6bf3c attempt an action
All checks were successful
Zip and attach installable zip to release / zip-and-attach (release) Successful in 40s
these things never work on the first try
2025-08-08 14:29:23 -05:00
16a435f38a dedicated apple-touch-icon 2025-08-08 14:21:57 -05:00
4 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
name: Zip and attach installable zip to release
on:
release:
types: [published]
jobs:
zip-and-attach:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Extract tag name and build zip filename
id: vars
run: |
raw_tag="${GITHUB_REF##*/}"
tag="${raw_tag#v}" # Remove leading "v" if present
repo_name="${{ github.event.repository.name }}"
echo "TAG_NAME=$tag" >> $GITHUB_OUTPUT
echo "ZIP_NAME=${repo_name}_$tag.zip" >> $GITHUB_OUTPUT
- name: Create zip of the repository
run: |
zip -r "${{ steps.vars.outputs.ZIP_NAME }}" . -x '*.git*'
- name: Upload zip as a release asset
uses: softprops/action-gh-release@v2
with:
files: ${{ steps.vars.outputs.ZIP_NAME }}
env:
GITHUB_TOKEN: ${{ secrets.GITEATOKEN }}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
images/mobile.png.apple.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -173,6 +173,7 @@ function template_html_above()
// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="shortcut icon" sizes="196x196" href="' . $context['favicon'] . '" />
<link rel="apple-touch-icon" sizes="180x180" href="' . $context['favicon'] . '.apple.png" />
<link rel="help" href="', $scripturl, '?action=help" />
<link rel="contents" href="', $scripturl, '" />', ($context['allow_search'] ? '
<link rel="search" href="' . $scripturl . '?action=search" />' : '');