Skip to content

Commit

Permalink
Create deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BaseMax authored Sep 1, 2024
1 parent d42af9f commit df3cd60
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on: [push]

jobs:
mirror_with_sftp:
name: deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: FTP Deployer
uses: sand4rt/[email protected]
with:
sftp: true
host: ${{ secrets.SERVER_HOST }}
port: 22
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
remote_folder: ${{ secrets.SERVER_PATH }}
local_folder: '.'
cleanup: false
include: '[ "*", "**/*" ]'
exclude: '["node_modules/**", ".github/**", ".git/**", "*.env"]'
pasive: true

0 comments on commit df3cd60

Please sign in to comment.