Download openssh
This commit is contained in:
parent
c659fcf990
commit
a8768e1751
2
.github/workflows/cicd.yml
vendored
2
.github/workflows/cicd.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
|
||||
- name: Copy using key
|
||||
id: key-job
|
||||
uses: srueda99/scp-action@v5
|
||||
uses: srueda99/scp-action@v6
|
||||
with:
|
||||
port: 22
|
||||
host: ${{ secrets.SERVER_ADDRESS }}
|
||||
|
@ -4,5 +4,7 @@ FROM alpine
|
||||
COPY . /
|
||||
# Grant executable permission on the script.
|
||||
RUN ["chmod", "+x", "/entrypoint.sh"]
|
||||
RUN ["apk", "update"]
|
||||
RUN ["apk", "add", "git", "openssh"]
|
||||
# Runs the script.
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
@ -25,7 +25,7 @@ Use Github secrets to give these parameters.
|
||||
**With password**
|
||||
```
|
||||
name: copy using password
|
||||
uses: srueda99/scp-action@v5
|
||||
uses: srueda99/scp-action@v6
|
||||
with:
|
||||
port: 22
|
||||
host: ${{ secrets.SERVER_ADDRESS }}
|
||||
@ -37,7 +37,7 @@ with:
|
||||
**With key**
|
||||
```
|
||||
name: copy using key
|
||||
uses: srueda99/scp-action@v5
|
||||
uses: srueda99/scp-action@v6
|
||||
with:
|
||||
port: 22
|
||||
host: ${{ secrets.SERVER_ADDRESS }}
|
||||
@ -49,7 +49,7 @@ with:
|
||||
**With origin folder**
|
||||
```
|
||||
name: copy using password
|
||||
uses: srueda99/scp-action@v5
|
||||
uses: srueda99/scp-action@v6
|
||||
with:
|
||||
port: 22
|
||||
host: ${{ secrets.SERVER_ADDRESS }}
|
||||
@ -62,7 +62,7 @@ with:
|
||||
**With passphrase**
|
||||
```
|
||||
name: copy using key
|
||||
uses: srueda99/scp-action@v5
|
||||
uses: srueda99/scp-action@v6
|
||||
with:
|
||||
port: 22
|
||||
host: ${{ secrets.SERVER_ADDRESS }}
|
||||
|
Loading…
Reference in New Issue
Block a user