Skip to content

Commit

Permalink
Update deploy-dev.yaml
Browse files Browse the repository at this point in the history
reverts to the previous state
  • Loading branch information
martindemko authored Nov 8, 2024
1 parent 8908f5f commit 663e108
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,14 @@ on: [ workflow_dispatch ]
jobs:
call-common:
runs-on: ubuntu-latest
env:
SERVER_IP: 147.251.245.177
TARGET_HOSTNAME: mu-pub-245-177.flt.openstack.cloud.e-infra.cz
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Clear old known_hosts entry
run: |
ssh-keygen -R $SERVER_IP || true
ssh-keygen -R $TARGET_HOSTNAME || true
- name: Add new host to known_hosts
run: |
ssh-keyscan -H $SERVER_IP >> ~/.ssh/known_hosts
ssh-keyscan -H $TARGET_HOSTNAME >> ~/.ssh/known_hosts

- name: Call common
uses: ./.github/actions/deploy-common
env:
TARGET_HOSTNAME: mu-pub-245-177.flt.openstack.cloud.e-infra.cz
TARGET_USER: debian
VAULT_PASSWORD: ${{ secrets.VAULT_PASSWORD_DEV }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY_DEV }}

0 comments on commit 663e108

Please sign in to comment.