From 8218c8ed9514d772933e1ab4d1c725a7c05e149f Mon Sep 17 00:00:00 2001 From: Dragan Filipovic Date: Thu, 27 May 2021 23:33:55 +0200 Subject: [PATCH] fix: add branch instead of a version in a readme --- .github/workflows/codeql-analysis.yml | 2 +- README.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 855a375..ffd76f4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,6 +42,6 @@ jobs: - run: | npm ci npm run build --if-present - + - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 diff --git a/README.md b/README.md index 354cbf0..297ce5f 100644 --- a/README.md +++ b/README.md @@ -55,11 +55,12 @@ path to exclude separated by `,`, ie: `/dist/, /node_modules/` # Usage -!!! Please use latest version, Readme file is just an example, eg: ssh-deploy@v2.1.5 +Use the latest version from Marketplace,eg: ssh-deploy@v2 +or use the latest version from a branch, eg: ssh-deploy@main ``` - name: Deploy to Staging server - uses: easingthemes/ssh-deploy@v2.1.5 + uses: easingthemes/ssh-deploy@main env: SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} ARGS: "-rltgoDzvO" @@ -93,7 +94,7 @@ jobs: - name: Run build task run: npm run build --if-present - name: Deploy to Server - uses: easingthemes/ssh-deploy@v2.1.5 + uses: easingthemes/ssh-deploy@main env: SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} ARGS: "-rltgoDzvO --delete"