NEW RELEASE
This commit is contained in:
23
deploy.yml
Normal file
23
deploy.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Deploy Portfolio
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Deploy via rsync over SSH
|
||||
uses: burnett01/rsync-deployments@7.0.1
|
||||
with:
|
||||
switches: -avzr --delete --exclude=".git*" --exclude="README.md"
|
||||
path: ./
|
||||
remote_path: ${{ secrets.DEPLOY_PATH }}
|
||||
remote_host: ${{ secrets.DEPLOY_HOST }}
|
||||
remote_user: ${{ secrets.DEPLOY_USER }}
|
||||
remote_key: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||
remote_port: ${{ secrets.DEPLOY_PORT }}
|
||||
Reference in New Issue
Block a user