Official release of known-hosts
This commit is contained in:
SamKirkland 2020-05-05 00:58:08 -05:00
parent a54cf4c5e3
commit f68449776c
5 changed files with 18 additions and 18 deletions

View File

@ -5,7 +5,7 @@ jobs:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2.1.0
with:
fetch-depth: 2
- name: FTP-Deploy-Action

View File

@ -5,7 +5,7 @@ jobs:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2.1.0
with:
fetch-depth: 2
- name: FTP-Deploy-Action

View File

@ -19,11 +19,11 @@ jobs:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2.1.0
with:
fetch-depth: 2
- name: FTP-Deploy-Action
uses: SamKirkland/FTP-Deploy-Action@3.0.0
uses: SamKirkland/FTP-Deploy-Action@3.1.0
with:
ftp-server: ftp://ftp.samkirkland.com/
ftp-username: myFtpUserName
@ -179,11 +179,11 @@ jobs:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2.1.0
with:
fetch-depth: 2
- name: FTP-Deploy-Action
uses: SamKirkland/FTP-Deploy-Action@3.0.0
uses: SamKirkland/FTP-Deploy-Action@3.1.0
with:
ftp-server: ftp://ftp.samkirkland.com/
ftp-username: myFtpUserName
@ -207,12 +207,12 @@ jobs:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2.1.0
with:
fetch-depth: 2
- name: FTP-Deploy-Action
uses: SamKirkland/FTP-Deploy-Action@3.0.0
uses: SamKirkland/FTP-Deploy-Action@3.1.0
with:
ftp-server: ftps://ftp.samkirkland.com:21/
ftp-username: myFTPSUsername
@ -254,12 +254,12 @@ jobs:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2.1.0
with:
fetch-depth: 2
- name: FTP-Deploy-Action
uses: SamKirkland/FTP-Deploy-Action@3.0.0
uses: SamKirkland/FTP-Deploy-Action@3.1.0
with:
ftp-server: sftp://ftp.samkirkland.com:7280/
ftp-username: mySFTPUsername
@ -280,7 +280,7 @@ jobs:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2.1.0
with:
fetch-depth: 2
@ -298,7 +298,7 @@ jobs:
run: ls
- name: FTP-Deploy-Action
uses: SamKirkland/FTP-Deploy-Action@3.0.0
uses: SamKirkland/FTP-Deploy-Action@3.1.0
with:
ftp-server: ftp://ftp.samkirkland.com/
ftp-username: myFTPUsername
@ -316,12 +316,12 @@ jobs:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2.1.0
with:
fetch-depth: 2
- name: FTP-Deploy-Action
uses: SamKirkland/FTP-Deploy-Action@3.0.0
uses: SamKirkland/FTP-Deploy-Action@3.1.0
with:
ftp-server: ftp://ftp.samkirkland.com/
ftp-username: myFTPUsername
@ -345,7 +345,7 @@ See the [`.git-ftp-ignore`](#ignore-specific-files-when-deploying) example secti
By default only different files are uploaded.
Verify you have `with: fetch-depth: 2` in your `actions/checkout@master` step. The last 2 checkins are required in order to determine differences
Verify you have `with: fetch-depth: 2` in your `actions/checkout@v2.1.0` step. The last 2 checkins are required in order to determine differences
If you've had multiple git commits without deploying, all files will be uploaded to get back in sync

View File

@ -13,11 +13,11 @@ inputs:
required: true
local-dir:
description: 'The local folder to copy, defaults to root project folder'
defaults: ./
default: ./
required: false
git-ftp-args:
description: 'Passes through options into git-ftp'
defaults:
default:
required: false
runs:
using: 'docker'

View File

@ -1,6 +1,6 @@
# Migrating from v2 to v3
`uses: actions/checkout@master` must now have the option `fetch-depth: 2`
`uses: actions/checkout@v2.1.0` must now have the option `fetch-depth: 2`
Without the `fetch-depth` option diffs cannot be calculated and all files will be uploaded.