From f68449776c457e237007a7e58667598381cd8022 Mon Sep 17 00:00:00 2001 From: SamKirkland Date: Tue, 5 May 2020 00:58:08 -0500 Subject: [PATCH] v3.1.0 Official release of known-hosts --- .github/workflows/test-ftp-deploy.yaml | 2 +- .github/workflows/test-sftp-deploy.yaml | 2 +- README.md | 26 ++++++++++++------------- action.yml | 4 ++-- v2-v3-migration.md | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/test-ftp-deploy.yaml b/.github/workflows/test-ftp-deploy.yaml index 67f9826..cefd197 100644 --- a/.github/workflows/test-ftp-deploy.yaml +++ b/.github/workflows/test-ftp-deploy.yaml @@ -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 diff --git a/.github/workflows/test-sftp-deploy.yaml b/.github/workflows/test-sftp-deploy.yaml index dc68820..30a03cf 100644 --- a/.github/workflows/test-sftp-deploy.yaml +++ b/.github/workflows/test-sftp-deploy.yaml @@ -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 diff --git a/README.md b/README.md index a6d175b..8a81e92 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/action.yml b/action.yml index 42ba065..b297640 100644 --- a/action.yml +++ b/action.yml @@ -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' diff --git a/v2-v3-migration.md b/v2-v3-migration.md index fd87a5d..17b43bb 100644 --- a/v2-v3-migration.md +++ b/v2-v3-migration.md @@ -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.