mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-14 14:05:05 +00:00
Complete rewrite! Switched from LFTP to git-ftp Upload diffs based on git history by default lower case kebab argument names Migrated from shell to typescript Added FTP and SFTP tests .git-ftp-ignore and .git-ftp-include support
18 lines
618 B
YAML
18 lines
618 B
YAML
on: push
|
|
name: Test SFTP Deploy
|
|
jobs:
|
|
FTP-Deploy-Action:
|
|
name: FTP-Deploy-Action
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
with:
|
|
fetch-depth: 2
|
|
- name: FTP-Deploy-Action
|
|
uses: SamKirkland/FTP-Deploy-Action-Typescript@master
|
|
with:
|
|
# deploy to a folder named "sftp-deploy-test.samkirkland.com" on my server
|
|
ftp-server: sftp://ftp.samkirkland.com:7822/home/samkirkland/sftp-deploy-test.samkirkland.com/
|
|
ftp-username: ${{ secrets.sftp_username }}
|
|
ftp-password: ${{ secrets.sftp_password }}
|
|
git-ftp-args: --insecure |