diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 829ecb42..d05e55d5 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -546,3 +546,6 @@ jobs: - tests if: ${{ github.event_name == 'push' }} uses: ./.github/workflows/deployment.yml + secrets: + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + SSH_PASSPHRASE: ${{ secrets.SSH_PASSPHRASE }} diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 532e62a1..a8c529d7 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -13,6 +13,11 @@ on: default: '2' required: false type: string + secrets: + SSH_PRIVATE_KEY: + required: true + SSH_PASSPHRASE: + required: true jobs: print_inputs: diff --git a/.github/workflows/manual-deployment.yml b/.github/workflows/manual-deployment.yml index 8c866625..bd0d294d 100644 --- a/.github/workflows/manual-deployment.yml +++ b/.github/workflows/manual-deployment.yml @@ -25,3 +25,6 @@ jobs: with: php_version: ${{ github.event.inputs.php_version }} composer_version: ${{ github.event.inputs.composer_version }} + secrets: + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + SSH_PASSPHRASE: ${{ secrets.SSH_PASSPHRASE }}