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

View file

@ -12,9 +12,6 @@ jobs:
- name: Build - name: Build
run: | run: |
nix develop -c hugo --gc --minify nix develop -c hugo --gc --minify
- name: Check html
run: |
nix develop -c htmltest
- name: Publish - name: Publish
run: | run: |
mkdir -p ~/.ssh/ mkdir -p ~/.ssh/
@ -24,6 +21,9 @@ jobs:
chmod 400 ~/.ssh/id_ed25519 chmod 400 ~/.ssh/id_ed25519
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILqDeXcIQwLXxuueu9KTC6y6NPUUzDRdF4Q5NUk+nFwt upload@blog" > ~/.ssh/id_ed25519.pub 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/ 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: Check config:
runs-on: flakes-action runs-on: flakes-action