Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nemeseri authored Mar 25, 2024
1 parent 0c6a391 commit 8ad1503
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
steps:
- name: Deploy using ssh
uses: appleboy/ssh-action@main
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSHKEY }}
port: ${{ secrets.PORT }}
script: |
cd /www/family-site-reactjs
git pull origin main
npm install --only=prod
npm build
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSHKEY }}
port: ${{ secrets.PORT }}
script: |
cd /www/family-site-reactjs
git pull origin main
npm install --only=prod
npm build

0 comments on commit 8ad1503

Please sign in to comment.