Comments
This commit is contained in:
parent
a8768e1751
commit
fdf696c9ea
2
.github/workflows/cicd.yml
vendored
2
.github/workflows/cicd.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy using key
|
- name: Copy using key
|
||||||
id: key-job
|
id: key-job
|
||||||
uses: srueda99/scp-action@v6
|
uses: srueda99/scp-action@v7
|
||||||
with:
|
with:
|
||||||
port: 22
|
port: 22
|
||||||
host: ${{ secrets.SERVER_ADDRESS }}
|
host: ${{ secrets.SERVER_ADDRESS }}
|
||||||
|
@ -4,6 +4,7 @@ FROM alpine
|
|||||||
COPY . /
|
COPY . /
|
||||||
# Grant executable permission on the script.
|
# Grant executable permission on the script.
|
||||||
RUN ["chmod", "+x", "/entrypoint.sh"]
|
RUN ["chmod", "+x", "/entrypoint.sh"]
|
||||||
|
# Update the apk and download openssh
|
||||||
RUN ["apk", "update"]
|
RUN ["apk", "update"]
|
||||||
RUN ["apk", "add", "git", "openssh"]
|
RUN ["apk", "add", "git", "openssh"]
|
||||||
# Runs the script.
|
# Runs the script.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# SCP ACTION
|
# SCP ACTION
|
||||||
***By SRUEDA99***
|
***By [SRUEDA99]***
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
This action to copy the files from your repository to a remote server using **SCP** (Secure Copy Protocol).
|
This action to copy the files from your repository to a remote server using **SCP** (Secure Copy Protocol).
|
||||||
|
Loading…
Reference in New Issue
Block a user