Skip to content

Commit

Permalink
Create node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
capDoYeonLee authored Jul 19, 2024
1 parent 13b64c4 commit c4ece21
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: deploy
on:
push:
branches: [ 'main' ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
SSH:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run scripts in server
uses: appleboy/ssh-action@master
with:
key: ${{ secrets.FRONT_EC2_SSH_KEY }}
host: ${{ secrets.FRONT_EC2_HOST }}
username: ${{ secrets.FRONT_EC2_USER }}
script: |
pwd

0 comments on commit c4ece21

Please sign in to comment.