Try and fix upload, and update content
This commit is contained in:
@@ -56,11 +56,11 @@ jobs:
|
||||
- name: "Restore SSH Key"
|
||||
shell: bash
|
||||
run: |
|
||||
echo "${{ secrets.SSHKEY }}" | base64 -d > ~/.ssh/id_ed25519
|
||||
echo "Host xaymar.com" >> ~/.ssh/config
|
||||
echo " StrictHostKeyChecking no" >> ~/.ssh/config
|
||||
mkdir $HOME/.ssh
|
||||
echo "${{ secrets.SSHKEY }}" | base64 -d > $HOME/.ssh/id_ed25519
|
||||
echo "Host xaymar.com" >> $HOME/.ssh/config
|
||||
echo " StrictHostKeyChecking no" >> $HOME/.ssh/config
|
||||
- name: "Publish"
|
||||
shell: bash
|
||||
run: |
|
||||
rsync -v -h -P -a --delete . "com.xaymar@xaymar.com:/var/www/com.xaymar/public/com.xaymar.www/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user