Temp: capture build log and verify webmentions in CI
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
This commit is contained in:
parent
97d49221e3
commit
07f677899a
1 changed files with 6 additions and 1 deletions
|
|
@ -37,7 +37,12 @@ jobs:
|
||||||
sudo podman build \
|
sudo podman build \
|
||||||
--no-cache \
|
--no-cache \
|
||||||
--build-arg WEBMENTION_TOKEN="${{ secrets.WEBMENTION_TOKEN }}" \
|
--build-arg WEBMENTION_TOKEN="${{ secrets.WEBMENTION_TOKEN }}" \
|
||||||
-t localhost/adrian-altner.de:latest .
|
-t localhost/adrian-altner.de:latest . 2>&1 | tee /tmp/podman-build.log
|
||||||
|
echo "--- token-len check ---"
|
||||||
|
grep 'token-len=' /tmp/podman-build.log || echo "(no token-len in build output)"
|
||||||
|
echo "--- webmentions check ---"
|
||||||
|
sudo podman run --rm localhost/adrian-altner.de:latest sh -c \
|
||||||
|
'grep -c "section class=\"webmentions\"" /app/dist/client/setting-up-forgejo-actions-runner/index.html 2>/dev/null && echo WEBMENTIONS_OK || echo WEBMENTIONS_MISSING'
|
||||||
|
|
||||||
- name: Restart service
|
- name: Restart service
|
||||||
run: sudo systemctl restart podman-compose@adrian-altner.de.service
|
run: sudo systemctl restart podman-compose@adrian-altner.de.service
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue