Skip to content

Commit

Permalink
chore : prod CI/CD 테스트2
Browse files Browse the repository at this point in the history
  • Loading branch information
waterricecake committed Oct 17, 2024
1 parent e3b79af commit 79656ab
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/frontend-prod-CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,11 @@ jobs:
- name: Run build
run: npm run build

- name: prod 서버 파일 전송
run: scp -i ${{secrets.PROD_PEM_KEY}} -r ./dist ${{secrets.PROD_USER_NAME}}@${{secrets.PROD_SERVER}}:~/
- name: Execute Server Init Script
uses: appleboy/scp-action@master
with:
username: ${{ secrets.PROD_USER_NAME }}
host: ${{ secrets.PROD_SERVER }}
key: ${{ secrets.PROD_PEM_KEY }}
source: "./dist"
target: "~/"

0 comments on commit 79656ab

Please sign in to comment.