Skip to content

Update dev-push.yml #59

Update dev-push.yml

Update dev-push.yml #59

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 }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: test cmd exec on stage.cmkc.hubzero.org
run: echo "test"
run: ssh -i ~/.ssh/github-workflow-hubadmin-key [email protected] "date >> /var/www/dev/drbtest.txt;"

Check failure on line 14 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: 14, Col: 7): 'run' is already defined