From 7767f4e9127da3ea92ad4994a0bf26a946e20a38 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Wed, 27 May 2026 17:00:50 -0500 Subject: [PATCH 1/4] Add support for getting the site and env in the terminus format --- .github/workflows/deploy-to-pantheon.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy-to-pantheon.yml b/.github/workflows/deploy-to-pantheon.yml index ede064c..017d596 100644 --- a/.github/workflows/deploy-to-pantheon.yml +++ b/.github/workflows/deploy-to-pantheon.yml @@ -21,6 +21,13 @@ on: TARGET_ENV_URL: description: The URL of the target environment value: ${{ jobs.deploy_to_pantheon.outputs.TARGET_ENV_URL }} + TARGET_ENV: + description: The name of the target env + value: ${{ jobs.deploy_to_pantheon.outputs.TARGET_ENV }} + TERMINUS_SITE_AND_ENV: + description: the Site and Env for use in terminus + value: ${{inputs.TERMINUS_SITE}}.${{ jobs.deploy_to_pantheon.outputs.TARGET_ENV }} + concurrency: group: deploy-to-pantheon--${{ github.head_ref || github.ref_name }} cancel-in-progress: true From 40d990fe2fc9f09a391dbf5dbd010fc64e50a6cb Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Wed, 27 May 2026 17:17:00 -0500 Subject: [PATCH 2/4] Add TARGET_TERMINUS_SITE_AND_ENV --- .github/workflows/deploy-to-pantheon.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-to-pantheon.yml b/.github/workflows/deploy-to-pantheon.yml index 017d596..2174fa3 100644 --- a/.github/workflows/deploy-to-pantheon.yml +++ b/.github/workflows/deploy-to-pantheon.yml @@ -24,8 +24,8 @@ on: TARGET_ENV: description: The name of the target env value: ${{ jobs.deploy_to_pantheon.outputs.TARGET_ENV }} - TERMINUS_SITE_AND_ENV: - description: the Site and Env for use in terminus + TARGET_TERMINUS_SITE_AND_ENV: + description: The site and env for accessing this site via terminus. the format is TERMINUS_SITE.TARGET_ENV value: ${{inputs.TERMINUS_SITE}}.${{ jobs.deploy_to_pantheon.outputs.TARGET_ENV }} concurrency: From 579016465027fdca3f0fcf47693429ccc6b10310 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Wed, 27 May 2026 17:20:50 -0500 Subject: [PATCH 3/4] Improve the docs --- .github/workflows/deploy-to-pantheon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-to-pantheon.yml b/.github/workflows/deploy-to-pantheon.yml index 2174fa3..b3cd002 100644 --- a/.github/workflows/deploy-to-pantheon.yml +++ b/.github/workflows/deploy-to-pantheon.yml @@ -25,7 +25,7 @@ on: description: The name of the target env value: ${{ jobs.deploy_to_pantheon.outputs.TARGET_ENV }} TARGET_TERMINUS_SITE_AND_ENV: - description: The site and env for accessing this site via terminus. the format is TERMINUS_SITE.TARGET_ENV + description: The site and env for accessing this Wordpress site via terminus, i.e. `terminus wp -- TARGET_TERMINUS_SITE_AND_ENV ` value: ${{inputs.TERMINUS_SITE}}.${{ jobs.deploy_to_pantheon.outputs.TARGET_ENV }} concurrency: From 63091ca71701931413a4992774d27039eef7d3d2 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Wed, 27 May 2026 17:28:14 -0500 Subject: [PATCH 4/4] Add TARGET_TERMINUS_SITE --- .github/workflows/deploy-to-pantheon.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy-to-pantheon.yml b/.github/workflows/deploy-to-pantheon.yml index b3cd002..aec973e 100644 --- a/.github/workflows/deploy-to-pantheon.yml +++ b/.github/workflows/deploy-to-pantheon.yml @@ -27,6 +27,9 @@ on: TARGET_TERMINUS_SITE_AND_ENV: description: The site and env for accessing this Wordpress site via terminus, i.e. `terminus wp -- TARGET_TERMINUS_SITE_AND_ENV ` value: ${{inputs.TERMINUS_SITE}}.${{ jobs.deploy_to_pantheon.outputs.TARGET_ENV }} + TARGET_TERMINUS_SITE: + description: The site for managing this Wordpress site via terminus, i.e. `terminus site:info TARGET_TERMINUS_SITE`. Just echos the TERMINUS_SITE passed into the workflow + value: ${{inputs.TERMINUS_SITE}} concurrency: group: deploy-to-pantheon--${{ github.head_ref || github.ref_name }}