Skip to content

Commit

Permalink
Update maven2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sunyu912 authored Oct 17, 2023
1 parent 6d86a75 commit 747087f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/maven2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,12 @@ jobs:
- name: Build with Maven
run: mvn -B package --file pom.xml

- name: copy jar file via ssh key
uses: appleboy/scp-action@master
with:
host: ec2-54-215-186-153.us-west-1.compute.amazonaws.com
username: ec2-user
port: 22
key: ${{ secrets.EC2USER }}
source: "target/cs480-1.0.jar"
target: "~/"

0 comments on commit 747087f

Please sign in to comment.