Skip to content

Commit

Permalink
Merge pull request #85 from JNU-econovation/feat/48/ouath
Browse files Browse the repository at this point in the history
feat: 프론트 CI/CD 스크립트 추가
  • Loading branch information
capDoYeonLee authored Jul 19, 2024
2 parents 35d26a7 + e3daf55 commit 8912d7a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/frontCICD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: deploy
on:
push:
branches: [ 'main' ]
workflow_dispathch:

# 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 8912d7a

Please sign in to comment.