Skip to content

Commit

Permalink
Create dev-push.yml to push commits to dev.nanohub.org
Browse files Browse the repository at this point in the history
  • Loading branch information
dbenham committed May 9, 2024
1 parent 8ea5276 commit b5e7209
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/dev-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: update-nanohubdev-on-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.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: git pull from dev.nanohub.org
run: ssh [email protected] "date >> /var/www/test/drbtest.txt;"

0 comments on commit b5e7209

Please sign in to comment.