Skip to content

Commit

Permalink
fix inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Feb 9, 2023
1 parent 7d487e8 commit 3b4e16b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
deploy:
environment: ${{ environment }}
environment: ${{ inputs.environment }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -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: |
Expand Down

0 comments on commit 3b4e16b

Please sign in to comment.