Skip to content

Commit

Permalink
Merge pull request #54 from ga-devfront/develop
Browse files Browse the repository at this point in the history
fix: switch to appleboy scp
  • Loading branch information
ga-devfront authored Mar 21, 2024
2 parents 6487151 + 4769bb9 commit 5fd8c69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
npm run build
- name: Deploy to VPS
uses: appleboy/ssh-action@master
uses: appleboy/scp-action@v0.1.7
with:
host: ${{ secrets.VPS_HOST }}
username: ${{ secrets.VPS_USERNAME }}
key: ${{ secrets.VPS_SSH_KEY }}
fingerprint: ${{ secrets.VPS_RSA_FINGERPRINT }}
script: |
scp -r dist/* ${{ secrets.VPS_USERNAME }}@${{ secrets.VPS_HOST }}:/var/www/v1.ag-dev.fr/
source: "dist/"
target: "~/var/www/v1.ag-dev.fr/"

0 comments on commit 5fd8c69

Please sign in to comment.