Update .github/workflows/pages-deploy.yml
Some checks failed
Build and Deploy / build (push) Failing after 1m56s
Some checks failed
Build and Deploy / build (push) Failing after 1m56s
This commit is contained in:
parent
22864c548c
commit
df3e411f6a
1 changed files with 2 additions and 1 deletions
3
.github/workflows/pages-deploy.yml
vendored
3
.github/workflows/pages-deploy.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
run: |
|
||||
apt update -y
|
||||
apt upgrade -y
|
||||
apt install openssh-client openssh-server sshpass ruby jekyll -y
|
||||
apt install openssh-client sshpass ruby jekyll -y
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -46,6 +46,7 @@ jobs:
|
|||
whoami
|
||||
echo "this is a text file" >> index.html
|
||||
date >> index.html
|
||||
cat index.html
|
||||
export SSHPASS= ${{ secrets.SFTP_PASSWORD }}
|
||||
sshpass -e sftp -oBatchMode=no -b - ${{ secrets.SFTP_USERNAME }}@${{ vars.SFTP_HOST }} << !
|
||||
put index.html www/index.html
|
||||
|
|
Loading…
Reference in a new issue