diff --git a/.bin/set-up-globals.sh b/.bin/set-up-globals.sh index d5d97452..ad1a6ba4 100755 --- a/.bin/set-up-globals.sh +++ b/.bin/set-up-globals.sh @@ -29,6 +29,6 @@ echo "LogLevel ERROR" >> ~/.ssh/config # Set UserKnownHostsFile to /dev/null in ~/.ssh/config echo "UserKnownHostsFile /dev/null" >> ~/.ssh/config # Create the id_rsa file -echo "Creating the id_rsa file" -touch ~/.ssh/id_rsa -echo "$SSH_KEY" > ~/.ssh/id_rsa \ No newline at end of file +# echo "Creating the id_rsa file" +# touch ~/.ssh/id_rsa +# echo "$SSH_KEY" > ~/.ssh/id_rsa \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b03a5ec2..9ece4879 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,6 +40,10 @@ jobs: run: ./.bin/set-up-globals.sh - name: Install plugin run: terminus self:plugin:install ${GITHUB_WORKSPACE} + - name: Install SSH key + uses: webfactory/ssh-agent@v0.7.0 + with: + ssh-private-key: ${{ secrets.SSH_KEY }} - name: Functional Tests run: composer functional - name: Cleanup