mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-14 14:05:05 +00:00
18 lines
607 B
YAML
18 lines
607 B
YAML
on: push
|
|
name: Test SFTP Deploy
|
|
jobs:
|
|
FTP-Deploy-Action:
|
|
name: FTP-Deploy-Action
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2.1.0
|
|
with:
|
|
fetch-depth: 2
|
|
- name: FTP-Deploy-Action
|
|
uses: SamKirkland/FTP-Deploy-Action@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 |