Update dev-push.yml #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
- name: dev push to stage.cmkc.hubzero.org | ||
run: | | ||
echo "test 727" | ||
ssh [email protected] "date >> /var/www/stage/drbtest.txt;" |