Skip to content

Commit

Permalink
fix :: ec2경로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ftery0 committed Oct 29, 2024
1 parent db51bc6 commit a7b900c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ jobs:
- name: Build Next.js project
run: yarn run build

- name: Export Next.js project
run: yarn run export

- name: Deploy to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ec2-user
key: ${{ secrets.PRIVATE_KEY }}
port: ${{ secrets.PORT }}
source: "out/*"
target: "/home/ec2-user/dear"
source: ".next/*"
target: "/var/www/dear"

0 comments on commit a7b900c

Please sign in to comment.