diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index f946f78..85f79a1 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -10,7 +10,7 @@ jobs: - name: Copy using key id: key-job - uses: srueda99/scp-action@v1 + uses: srueda99/scp-action@v2 with: port: 22 host: ${{ secrets.SERVER_ADDRESS }} diff --git a/README.md b/README.md index 7600dd4..3969e8e 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Use Github secrets to give these parameters. **With password** ``` name: Copy using password -uses: srueda99/scp-action@v1 +uses: srueda99/scp-action@v2 with: port: 22 host: ${{ secrets.SERVER_ADDRESS }} @@ -35,7 +35,7 @@ with: **With key** ``` name: Copy using key -uses: srueda99/scp-action@v1 +uses: srueda99/scp-action@v2 with: port: 22 host: ${{ secrets.SERVER_ADDRESS }} @@ -47,7 +47,7 @@ with: **With origin folder** ``` name: Copy using password -uses: srueda99/scp-action@v1 +uses: srueda99/scp-action@v2 with: port: 22 host: ${{ secrets.SERVER_ADDRESS }} @@ -60,7 +60,7 @@ with: **With passphrase** ``` name: Copy using key -uses: srueda99/scp-action@v1 +uses: srueda99/scp-action@v2 with: port: 22 host: ${{ secrets.SERVER_ADDRESS }}