Compare commits

...

4 Commits

Author SHA1 Message Date
Sam Kirkland
6647c2f8ad
Merge pull request #346 from SamKirkland/v3.1.2-patch
v3.1.2-patch
2022-12-15 09:39:43 -06:00
Sam Kirkland
41575a636c
v3.1.2-patch 2022-12-15 02:45:45 -06:00
SamKirkland
4158862244 v3.1.2
node v16
2022-12-02 11:14:15 -06:00
Sam Kirkland
559ddbb4df
Update Dockerfile 2021-08-16 11:53:47 -05:00
2 changed files with 31 additions and 31 deletions

View File

@ -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

View File

@ -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",