From aca0119c28e2058a8b4e56fbb79f87026114bab1 Mon Sep 17 00:00:00 2001 From: dustin-jw Date: Tue, 31 Oct 2023 15:51:49 -0600 Subject: [PATCH] chore: set up terminus installation --- .github/workflows/deploy.pantheon.sftp.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.pantheon.sftp.yml b/.github/workflows/deploy.pantheon.sftp.yml index 50eee50..a27238a 100644 --- a/.github/workflows/deploy.pantheon.sftp.yml +++ b/.github/workflows/deploy.pantheon.sftp.yml @@ -3,6 +3,7 @@ name: Deploy to Pantheon (SFTP) on: push: branches: [main] + pull_request: workflow_dispatch: jobs: @@ -46,7 +47,10 @@ jobs: eval `ssh-agent` ssh-add ~/.ssh/id_rsa - - name: Deploy to Pantheon via SFTP - if: ${{ vars.DEPLOY_TO_PANTHEON_SFTP }} - run: | - echo "This is a test" + - name: Install Terminus + uses: pantheon-systems/terminus-github-actions@1.1.0 + with: + pantheon-machine-token: ${{ secrets.PANTHEON_ID_RSA }} + + - name: List sites + run: terminus site:list