File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 1- # ftp-action
1+ # ftp-action
2+
3+ Automate copying your files via FTP using this GitHub action.
4+
5+ ## Example usage
6+
7+ ```
8+ name: Upload via FTP
9+ on: push
10+ jobs:
11+ FTP-Action:
12+ name: FTP-Action
13+ runs-on: ubuntu-latest
14+ steps:
15+ - uses: actions/checkout@master
16+ - name: Deploy FTP
17+ uses: sebastianpopp/ftp-action@master
18+ with:
19+ host: "ftp.example.com"
20+ user: ${{ secrets.FTP_USERNAME }}
21+ password: ${{ secrets.FTP_PASSWORD }}
22+ localDir: "dist"
23+ remoteDir: "www"
24+ ```
25+
26+ ## Input parameters
27+
28+ Input parameter | Description | Required | Default
29+ --- | --- | --- | ---
30+ host | FTP server name | Yes | N/A
31+ user | FTP username | Yes | N/A
32+ password | FTP password | Yes | N/A
33+ localDir | The local directory to copy | No | .
34+ remoteDir | The remote directory to copy to | No | .
You can’t perform that action at this time.
0 commit comments