From ed95ee5f62ca01438a4f51c9c0c4f5cd4c51ee45 Mon Sep 17 00:00:00 2001 From: David Benham Date: Wed, 2 Oct 2024 18:50:16 -0400 Subject: [PATCH] Update dev-push.yml cicd for cmkc staging server --- .github/workflows/dev-push.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dev-push.yml b/.github/workflows/dev-push.yml index d8da514580..e55ed32104 100644 --- a/.github/workflows/dev-push.yml +++ b/.github/workflows/dev-push.yml @@ -1,4 +1,4 @@ -name: update-nanohubdev-on-push +name: update-code-push on: [push] jobs: push-step-1: @@ -7,8 +7,8 @@ jobs: - name: Install SSH Key uses: shimataro/ssh-key-action@v2 with: - key: ${{ secrets.SSH_KEY }} + key: ${{ secrets.HUBADMIN_KEY }} known_hosts: ${{ secrets.KNOWN_HOSTS }} - - name: test cmd exec on dev.nanohub.org + - name: test cmd exec on stage.cmkc.hubzero.org run: echo "test" -# run: ssh webadmin@dev.nanohub.org "date >> /var/www/dev/drbtest.txt;" + run: ssh -i ~/.ssh/github-workflow-hubadmin-key hubadmin@stage.cmkc.hubzero.org "date >> /var/www/dev/drbtest.txt;"