Skip to content

Commit

Permalink
Check for site health in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
notartom committed Dec 26, 2023
1 parent 51a3510 commit 82c8bd4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/deploy-localdev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
dist: ubuntu
release: jammy
name: librivox-localdev
name: librivox.org

- name: Run localdev.yaml playbook
uses: dawidd6/action-ansible-playbook@v2
Expand All @@ -28,3 +28,12 @@ jobs:
${{ steps.lxc.outputs.ip }} ansible_user=root ci_env=development ci_log_threshold=4
options:
-l localdev

- name: Ensure resulting website health
# This relies on the LXC container creation step having added an
# /etc/hosts for librivox.org pointing to the container.
uses: notartom/website-healthcheck@v4
with:
web-url: "https://librivox.org/dust-of-the-desert-by-robert-welles-ritchie/"
scan-for-text: "BENICIA"
insecure: true

0 comments on commit 82c8bd4

Please sign in to comment.