DEV Community

Cover image for ✨ A practical guide to GitHub Actions: build & deploy a static 11ty website to remote virtual server after push

✨ A practical guide to GitHub Actions: build & deploy a static 11ty website to remote virtual server after push

Vic Shóstak on June 01, 2020

Introduction Hey, DEV community 🖖 It's a long time since I saw you last! I want to share with you some great news from the CI/CD world...
Collapse
 
ravgeetdhillon profile image
Ravgeet Dhillon • Edited

Hi. Can you please tell what is SERVER_SHORTCUT?

Collapse
 
koddr profile image
Vic Shóstak • Edited

Hello. It's name of your SSH connection.

For example, I always use this one:

Host digitalocean_myproject_server
...
Enter fullscreen mode Exit fullscreen mode

And, next on console to enter:

ssh digitalocean_myproject_server
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ravgeetdhillon profile image
Ravgeet Dhillon

Awesome. Thanks for a great tutorial!

Collapse
 
koonfoon profile image
koonfoon

Great tutorial, thank you.
But can the "passphrase:" be empty?
I has a ssh key that do not need passphrase.

Collapse
 
koddr profile image
Vic Shóstak

Hi! Good question, but IDK.
Try to ask this here: github.com/appleboy/scp-action

Collapse
 
koonfoon profile image
koonfoon

I had tried myself.
it still work.
👍

Collapse
 
sm0ke profile image
Sm0ke

Super nice. Thanks for sharing.

Collapse
 
koddr profile image
Vic Shóstak

No problem! Thank you for reading 😎

Collapse
 
wobsoriano profile image
Robert

Awesome! Bookmarking this.

Collapse
 
koddr profile image
Vic Shóstak

Thanks, you're welcome 👍

Collapse
 
davidyaonz profile image
David Yao

Thanks for sharing.

Collapse
 
koddr profile image
Vic Shóstak

You're welcome! 👍

Collapse
 
mariusty profile image
mariusty

Great!
Thanks for such a detailed tutorial

Collapse
 
koddr profile image
Vic Shóstak

Thanks for reply! You're welcome 😉