From 3b4e16b72d077e884c71e4d9e06a27b139cea47f Mon Sep 17 00:00:00 2001 From: Joep Meindertsma Date: Thu, 9 Feb 2023 22:15:59 +0100 Subject: [PATCH] fix inputs --- .github/workflows/deployment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 649f49dbf..ad892d9f5 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -17,7 +17,7 @@ on: jobs: deploy: - environment: ${{ environment }} + environment: ${{ inputs.environment }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -38,13 +38,13 @@ jobs: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} ARGS: "-rltgoDzvO" SOURCE: "target/x86_64-unknown-linux-musl/release/atomic-server" - REMOTE_HOST: ${{ remote_host }} + REMOTE_HOST: ${{ inputs.remote_host }} REMOTE_USER: ${{ secrets.REMOTE_USER }} TARGET: ~/ - name: executing remote ssh commands using ssh key uses: appleboy/ssh-action@master with: - host: ${{ remote_host }} + host: ${{ inputs.remote_host }} username: ${{ secrets.REMOTE_USER }} key: ${{ secrets.SSH_PRIVATE_KEY }} script: |