check html after uploading, as it fails nondeterministically on network connections

This commit is contained in:
Cyryl Płotnicki 2023-08-27 13:44:40 +01:00
parent 3b140ce4a0
commit 3786d166a0
1 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,6 @@ jobs:
- name: Build
run: |
nix develop -c hugo --gc --minify
- name: Check html
run: |
nix develop -c htmltest
- name: Publish
run: |
mkdir -p ~/.ssh/
@ -24,6 +21,9 @@ jobs:
chmod 400 ~/.ssh/id_ed25519
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILqDeXcIQwLXxuueu9KTC6y6NPUUzDRdF4Q5NUk+nFwt upload@blog" > ~/.ssh/id_ed25519.pub
nix develop -c rsync -avz -e 'ssh -o StrictHostKeyChecking=accept-new' public/ blog@blog.cyplo.net:/var/www/blog/
- name: Check html
run: |
nix develop -c htmltest
Check config:
runs-on: flakes-action