From 97ba6ac25eecc948aef6b0deaa2805a3e890996b Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Fri, 12 May 2023 10:05:39 -0500 Subject: [PATCH 1/4] Correct the comparison for artifact existance --- .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 b80ccc7..2a2f9af 100644 --- a/.github/workflows/deploy-to-pantheon.yml +++ b/.github/workflows/deploy-to-pantheon.yml @@ -113,7 +113,7 @@ jobs: - name: Get dist uses: actions/download-artifact@v3 - if: ${{ steps.check-artifact-existance.outputs.exists }} + if: ${{ steps.check-artifact-existance.outputs.exists != 'false' }} with: name: assets From 8e0e0abd949437673d1f8db898d2dc95ad3f343d Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Fri, 12 May 2023 10:35:09 -0500 Subject: [PATCH 2/4] Correct terminus site name --- .github/workflows/deploy-to-pantheon.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-to-pantheon.yml b/.github/workflows/deploy-to-pantheon.yml index 2a2f9af..1bf9a09 100644 --- a/.github/workflows/deploy-to-pantheon.yml +++ b/.github/workflows/deploy-to-pantheon.yml @@ -34,6 +34,7 @@ env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} GITHUB_OWNER: ${{ github.repository_owner }} CI_PROJECT_NAME: ${{ github.repository }} + TERMINUS_SITE: ${{ vars.TERMINUS_SITE }} concurrency: group: $CI_BRANCH @@ -107,7 +108,7 @@ jobs: - name: Check if assets exist uses: xSAVIKx/artifact-exists-action@v0 - id: check-artifact-existance + id: check-artifact-existence with: name: assets From 2b25ce398e2e5d8671444c44b441932619600008 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Fri, 12 May 2023 10:37:20 -0500 Subject: [PATCH 3/4] Correct inputs --- .github/workflows/deploy-to-pantheon.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-to-pantheon.yml b/.github/workflows/deploy-to-pantheon.yml index 1bf9a09..50f5a68 100644 --- a/.github/workflows/deploy-to-pantheon.yml +++ b/.github/workflows/deploy-to-pantheon.yml @@ -25,16 +25,15 @@ env: # ADMIN_USERNAME: ${{ secrets.ADMIN_USERNAME }} GITHUB_TOKEN: ${{ github.token }} TERMINUS_TOKEN: ${{ secrets.TERMINUS_TOKEN }} - TEST_SITE_NAME: ${{ vars.TERMINUS_SITE }} + TEST_SITE_NAME: ${{ inputs.TERMINUS_SITE }} BASH_ENV: "./bash_env.txt" CI_BRANCH: ${{ github.ref }} COMMIT_SHA: ${{ github.sha }} CI_BUILD_NUMBER: ${{ github.run_number }} - DEFAULT_SITE: ${{ vars.TERMINUS_SITE }} + DEFAULT_SITE: ${{ inputs.TERMINUS_SITE }} SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} GITHUB_OWNER: ${{ github.repository_owner }} CI_PROJECT_NAME: ${{ github.repository }} - TERMINUS_SITE: ${{ vars.TERMINUS_SITE }} concurrency: group: $CI_BRANCH From 161a48717c5c9a2c1ae17d1e1f426eec24e6203d Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Fri, 12 May 2023 10:53:55 -0500 Subject: [PATCH 4/4] Correct typo --- .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 50f5a68..e98285f 100644 --- a/.github/workflows/deploy-to-pantheon.yml +++ b/.github/workflows/deploy-to-pantheon.yml @@ -113,7 +113,7 @@ jobs: - name: Get dist uses: actions/download-artifact@v3 - if: ${{ steps.check-artifact-existance.outputs.exists != 'false' }} + if: ${{ steps.check-artifact-existence.outputs.exists != 'false' }} with: name: assets