This commit is contained in:
srueda99 2022-04-18 14:50:10 -05:00
parent a8768e1751
commit fdf696c9ea
3 changed files with 3 additions and 2 deletions

View File

@ -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 }}

View File

@ -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.

View File

@ -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).