Skip to content

Commit

Permalink
Update cd-branch.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Chengming-Li authored Apr 10, 2024
1 parent b044d99 commit 655d351
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/cd-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Setup SSH Key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_KEY }}
- name: SSH into Hozer
run: |
ssh [email protected] "cd /berkeleytime"
- name: Install sshpass
run: sudo apt-get install -y sshpass
- name: SSH into server
run: sshpass -p ${{ secrets.SSH_PASSWORD }} ssh [email protected] 'echo hello'

0 comments on commit 655d351

Please sign in to comment.