localdev import srubbed DB #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy LibriVox local development environment | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
deploy-localdev: | |
runs-on: 'ubuntu-22.04' | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Create LXC container | |
uses: lkiesow/setup-lxc-container@v1 | |
id: lxc | |
with: | |
dist: ubuntu | |
release: jammy | |
name: librivox.org | |
- name: Run localdev.yaml playbook | |
uses: dawidd6/action-ansible-playbook@v2 | |
with: | |
playbook: localdev.yaml | |
inventory: | | |
[localdev] | |
${{ steps.lxc.outputs.ip }} ansible_user=root ci_env=development ci_log_threshold=4 | |
options: | |
-l localdev | |
- name: Check for | |
uses: johnlokerse/website-healthcheck@v2 | |
with: | |
web-url: "https://librivox.org/stories-of-the-fire-brigade-by-frank-mundell/" | |
scan-for-text: "Whitechapel Hero" |