diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c6883f3..963b518 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@v6 + uses: srueda99/scp-action@v7 with: port: 22 host: ${{ secrets.SERVER_ADDRESS }} diff --git a/Dockerfile b/Dockerfile index d560b0e..c0ee2fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ FROM alpine COPY . / # Grant executable permission on the script. RUN ["chmod", "+x", "/entrypoint.sh"] +# Update the apk and download openssh RUN ["apk", "update"] RUN ["apk", "add", "git", "openssh"] # Runs the script. diff --git a/README.md b/README.md index fd9f17f..6046ac3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # SCP ACTION -***By SRUEDA99*** +***By [SRUEDA99]*** ## Overview This action to copy the files from your repository to a remote server using **SCP** (Secure Copy Protocol).