Skip to content

Commit

Permalink
test-deploy 31
Browse files Browse the repository at this point in the history
  • Loading branch information
yarobash committed Nov 21, 2024
1 parent 171171f commit 63bf803
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/test-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,20 @@ jobs:
name: production-build
- name: Display artifact files
run: ls -R
- name: Upload prod build to server
- name: Prepare folders on production server
uses: appleboy/[email protected]
with:
host: ${{ vars.SERVER_NAME }}
username: root
key: ${{ secrets.SERVER_SSH_KEY }}
port: 22
script_path: ./scripts/copy2site.sh
- name: Copy build to production server
uses: appleboy/[email protected]
with:
host: ${{ vars.SERVER_NAME }}
username: root
key: ${{ secrets.SERVER_SSH_KEY }}
port: 22
source: main/*
target: /var/www/webface_test

0 comments on commit 63bf803

Please sign in to comment.