mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2026-04-10 12:32:17 +02:00
v3.0.0
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
This commit is contained in:
16
.github/workflows/test-ftp-deploy.yaml
vendored
Normal file
16
.github/workflows/test-ftp-deploy.yaml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
on: push
|
||||
name: Test FTP 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:
|
||||
ftp-server: ftp://ftp.samkirkland.com/
|
||||
ftp-username: ${{ secrets.ftp_username }}
|
||||
ftp-password: ${{ secrets.ftp_password }}
|
||||
18
.github/workflows/test-sftp-deploy.yaml
vendored
Normal file
18
.github/workflows/test-sftp-deploy.yaml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
Reference in New Issue
Block a user