Skip to content

Update dev-push.yml #68

Update dev-push.yml

Update dev-push.yml #68

Workflow file for this run

name: update-code-push
on: [push]
jobs:
push-step-1:
runs-on: self-hosted
steps:
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.HUBADMIN_KEY }}
if_key_exists: replace ### replace|ignore|fail; optional (defaults to fail)
known_hosts: ${{ secrets.KNOWN_HOSTS }}
known_hosts: unnecessary

Check failure on line 13 in .github/workflows/dev-push.yml

View workflow run for this annotation

GitHub Actions / update-code-push

Invalid workflow file

The workflow is not valid. .github/workflows/dev-push.yml (Line: 13, Col: 9): 'known_hosts' is already defined
- name: dev push to stage.cmkc.hubzero.org
run: |
echo "test 727"
ssh [email protected] "date >> /var/www/stage/drbtest.txt;"