How To Deploy A Git Repository To A Server Using GitHub Actions

preview_player
Показать описание
Learn how to deploy changes of a git repository to your own / a server using GitHub Actions when you push them.

---
---
00:00 - Introduction
00:37 - Check user rights
00:53 - Create SSH Key
01:12 - Create Action Secrets
01:53 - Create GitHub Action
02:44 - Check that it works
02:52 - Conclusion
Рекомендации по теме
Комментарии
Автор

OMFG! I've been searching for days coming up on lengthy copy pasted videos about github actions and how they emotionally felt about it.
This is literally, exactly, what I needed. Amazing! Thank you!

llomsnr
Автор

I have this issue which is weird

***@***: Permission denied (publickey).

ALLAOUAOKBA
Автор

what is the case when it is a Windows IIS server and if we can not do ssh?

cxuxvui
Автор

Thanks man..This is useful.Do you have sample to deploy in Windows server?

jaswantsingh
Автор

Excuse me but I don't understand the first step. How do you create a new User and after how could the server has the access to the directory containing the repository ? Thanks great video

leomajorel
Автор

Thanks for the great video! Can you link the video you refer to at the end of the video where you use docker to accomplish the same thing?

ericknorr
Автор

I copied the approach exactly (no changes) and the "install ssh keys" step fails with:

ssh-keyscan -H *** > ~/.ssh/known_hosts
shell: /usr/bin/bash -e {0}
Error: Process completed with exit code 1.

hermes
Автор

I tried to do this but when the script gets to the "ssh-keyscan -H **** > ~/.ssh/known_hosts" part, it breaks 😅

jbarriossandrea