Skip to content

Commit

Permalink
test-deploy 41
Browse files Browse the repository at this point in the history
  • Loading branch information
yarobash committed Nov 21, 2024
1 parent 9df9e64 commit be5add0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ jobs:
- name: Prepare folders on production server
uses: appleboy/[email protected]
with:
host: ${{ vars.SERVER_NAME }}
username: root
host: ${{ secrets.SERVER_NAME }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
port: 22
port: ${{ secrets.SERVER_SSH_PORT }}
script_path: ./scripts/copy2site.sh
- name: Copy build to production server
uses: appleboy/[email protected]
with:
host: ${{ vars.SERVER_NAME }}
username: root
host: ${{ secrets.SERVER_NAME }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
port: 22
port: ${{ secrets.SERVER_SSH_PORT }}
source: webface/*
target: /var/www/

0 comments on commit be5add0

Please sign in to comment.