This commit is contained in:
parent
2519b96a86
commit
06d25a7baf
1 changed files with 4 additions and 3 deletions
|
|
@ -17,8 +17,8 @@ jobs:
|
|||
|
||||
- name: Setup Hugo
|
||||
run: |
|
||||
wget https://github.com/gohugoio/hugo/releases/download/v0.147.8/hugo_0.147.8_linux-amd64.tar.gz
|
||||
tar -xzf hugo_0.147.8_linux-amd64.tar.gz
|
||||
wget https://github.com/gohugoio/hugo/releases/download/v0.147.8/hugo_extended_0.147.8_linux-amd64.tar.gz
|
||||
tar -xzf hugo_extended_0.147.8_linux-amd64.tar.gz
|
||||
chmod +x hugo
|
||||
mkdir -p ~/bin
|
||||
mv hugo ~/bin/
|
||||
|
|
@ -39,7 +39,8 @@ jobs:
|
|||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
chmod 700 ~/.ssh
|
||||
echo "SSH key saved and permissions set" ssh-keyscan -H alexselimov.com >> ~/.ssh/known_hosts
|
||||
echo "SSH key saved and permissions set"
|
||||
ssh-keyscan -H alexselimov.com >> ~/.ssh/known_hosts
|
||||
echo "Host key added to known_hosts"
|
||||
# Test SSH connection
|
||||
echo "Testing SSH connection..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue