From 18ac1d12b18fb8aec0bb3024805cf263cc5a33ed Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Wed, 8 Jul 2026 15:17:34 +1000 Subject: [PATCH] publish: use bracket notation for the hyphenated page-url output `steps.deployment.outputs.page-url` is parsed as subtraction in GitHub Actions expressions (the hyphen), so environment.url wouldn't evaluate. Use index syntax `outputs['page-url']`. Cosmetic (env URL display only). Caught by Copilot review of QuantEcon/lecture-datascience.myst#280. Part of QuantEcon/meta#282. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 853157949..59e07c202 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,7 @@ jobs: runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=quantecon_ubuntu2404/volume=80gb/spot=false" environment: name: github-pages - url: ${{ steps.deployment.outputs.page-url }} + url: ${{ steps.deployment.outputs['page-url'] }} steps: - name: Checkout uses: actions/checkout@v7