diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 0500107..e9412a9 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -31,7 +31,7 @@ concurrency: jobs: quality: - runs-on: ubuntu-latest + runs-on: ${{ vars.AGENTBOOT_LINUX_RUNNER || 'ubuntu-latest' }} steps: - name: Checkout uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 @@ -55,7 +55,7 @@ jobs: deploy: needs: quality - runs-on: ubuntu-latest + runs-on: ${{ vars.AGENTBOOT_LINUX_RUNNER || 'ubuntu-latest' }} environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/tests/test_release_workflow.py b/tests/test_release_workflow.py index 113ad04..0b0753c 100644 --- a/tests/test_release_workflow.py +++ b/tests/test_release_workflow.py @@ -54,6 +54,7 @@ def test_pages_workflow_pins_actions_and_drops_checkout_credentials(self): self.assertIn("persist-credentials: false", text) self.assertIn("actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e", text) self.assertIn("scripts/sync-web-assets.py --check", text) + self.assertIn("vars.AGENTBOOT_LINUX_RUNNER || 'ubuntu-latest'", text) def test_worker_health_checks_assets_and_proxy_forwards_ranges(self): text = (ROOT / "cloudflare/worker.js").read_text(encoding="utf-8")