mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-14 22:15:05 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
6647c2f8ad | ||
|
41575a636c | ||
|
4158862244 | ||
|
559ddbb4df |
22
README.md
22
README.md
@ -23,7 +23,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
- name: FTP-Deploy-Action
|
- name: FTP-Deploy-Action
|
||||||
uses: SamKirkland/FTP-Deploy-Action@3.1.1
|
uses: SamKirkland/FTP-Deploy-Action@3.1.2
|
||||||
with:
|
with:
|
||||||
ftp-server: ftp://ftp.samkirkland.com/
|
ftp-server: ftp://ftp.samkirkland.com/
|
||||||
ftp-username: myFtpUserName
|
ftp-username: myFtpUserName
|
||||||
@ -56,7 +56,7 @@ To add a `secret` go to the `Settings` tab in your project then select `Secrets`
|
|||||||
I recommend you store your `ftp-password` as a secret.
|
I recommend you store your `ftp-password` as a secret.
|
||||||
|
|
||||||
| Key Name | Required? | Example | Default | Description |
|
| Key Name | Required? | Example | Default | Description |
|
||||||
|----------------|-----------|-----------------------------------------------|---------|----------------------------------------------------------|
|
|----------------|-----------|--------------------------------------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `ftp-server` | Yes | ftp://ftp.samkirkland.com/destinationPath/ | | Deployment destination server & path. Formatted as `protocol://domain.com:port/destinationPath/` protocol can be `ftp`, `ftps`, or `sftp`. Port is optional, when not specified it will default to 21 when using ftp, 22 when using sftp, and 990 when using ftps |
|
| `ftp-server` | Yes | ftp://ftp.samkirkland.com/destinationPath/ | | Deployment destination server & path. Formatted as `protocol://domain.com:port/destinationPath/` protocol can be `ftp`, `ftps`, or `sftp`. Port is optional, when not specified it will default to 21 when using ftp, 22 when using sftp, and 990 when using ftps |
|
||||||
| `ftp-username` | Yes | username@samkirkland.com | | FTP account username |
|
| `ftp-username` | Yes | username@samkirkland.com | | FTP account username |
|
||||||
| `ftp-password` | Yes | CrazyUniquePassword&%123 | | FTP account password |
|
| `ftp-password` | Yes | CrazyUniquePassword&%123 | | FTP account password |
|
||||||
@ -71,7 +71,7 @@ You can use as many arguments as you want, seperate them with a space
|
|||||||
Below is an incomplete list of commonly used args:
|
Below is an incomplete list of commonly used args:
|
||||||
|
|
||||||
| Argument | Description |
|
| Argument | Description |
|
||||||
|------------------------|------------------------------------------------------------------------------------------------------|
|
|-------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `--dry-run` | Does not upload or delete anything, but tries to get the .git-ftp.log file from remote host |
|
| `--dry-run` | Does not upload or delete anything, but tries to get the .git-ftp.log file from remote host |
|
||||||
| `--silent` | Be silent |
|
| `--silent` | Be silent |
|
||||||
| `--all` | Transfer all files, even seemingly the same as the target site (default is differences only). Note: Only files committed to github are uploaded, if you'd like to upload files generated during the action run see `.git-ftp-include` |
|
| `--all` | Transfer all files, even seemingly the same as the target site (default is differences only). Note: Only files committed to github are uploaded, if you'd like to upload files generated during the action run see `.git-ftp-include` |
|
||||||
@ -183,7 +183,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
- name: FTP-Deploy-Action
|
- name: FTP-Deploy-Action
|
||||||
uses: SamKirkland/FTP-Deploy-Action@3.1.1
|
uses: SamKirkland/FTP-Deploy-Action@3.1.2
|
||||||
with:
|
with:
|
||||||
ftp-server: ftp://ftp.samkirkland.com/
|
ftp-server: ftp://ftp.samkirkland.com/
|
||||||
ftp-username: myFtpUserName
|
ftp-username: myFtpUserName
|
||||||
@ -212,7 +212,7 @@ jobs:
|
|||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
- name: FTP-Deploy-Action
|
- name: FTP-Deploy-Action
|
||||||
uses: SamKirkland/FTP-Deploy-Action@3.1.1
|
uses: SamKirkland/FTP-Deploy-Action@3.1.2
|
||||||
with:
|
with:
|
||||||
ftp-server: ftps://ftp.samkirkland.com:21/
|
ftp-server: ftps://ftp.samkirkland.com:21/
|
||||||
ftp-username: myFTPSUsername
|
ftp-username: myFTPSUsername
|
||||||
@ -259,7 +259,7 @@ jobs:
|
|||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
- name: FTP-Deploy-Action
|
- name: FTP-Deploy-Action
|
||||||
uses: SamKirkland/FTP-Deploy-Action@3.1.1
|
uses: SamKirkland/FTP-Deploy-Action@3.1.2
|
||||||
with:
|
with:
|
||||||
ftp-server: sftp://ftp.samkirkland.com:7280/
|
ftp-server: sftp://ftp.samkirkland.com:7280/
|
||||||
ftp-username: mySFTPUsername
|
ftp-username: mySFTPUsername
|
||||||
@ -284,10 +284,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
- name: Use Node.js 12.x
|
- name: Use Node.js 16
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
node-version: '16'
|
||||||
|
|
||||||
- name: Build Project
|
- name: Build Project
|
||||||
run: |
|
run: |
|
||||||
@ -298,7 +298,7 @@ jobs:
|
|||||||
run: ls
|
run: ls
|
||||||
|
|
||||||
- name: FTP-Deploy-Action
|
- name: FTP-Deploy-Action
|
||||||
uses: SamKirkland/FTP-Deploy-Action@3.1.1
|
uses: SamKirkland/FTP-Deploy-Action@3.1.2
|
||||||
with:
|
with:
|
||||||
ftp-server: ftp://ftp.samkirkland.com/
|
ftp-server: ftp://ftp.samkirkland.com/
|
||||||
ftp-username: myFTPUsername
|
ftp-username: myFTPUsername
|
||||||
@ -321,7 +321,7 @@ jobs:
|
|||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
- name: FTP-Deploy-Action
|
- name: FTP-Deploy-Action
|
||||||
uses: SamKirkland/FTP-Deploy-Action@3.1.1
|
uses: SamKirkland/FTP-Deploy-Action@3.1.2
|
||||||
with:
|
with:
|
||||||
ftp-server: ftp://ftp.samkirkland.com/
|
ftp-server: ftp://ftp.samkirkland.com/
|
||||||
ftp-username: myFTPUsername
|
ftp-username: myFTPUsername
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "typescript-action",
|
"name": "typescript-action",
|
||||||
"version": "1.0.0",
|
"version": "3.1.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "TypeScript template action",
|
"description": "TypeScript template action",
|
||||||
"main": "dist/main.js",
|
"main": "dist/main.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12.0.0"
|
"node": ">=16.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "ncc build src/main.ts -o dist --watch",
|
"build": "ncc build src/main.ts -o dist --watch",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user