one-zero-eight / server

Configuration for VM with InNoHassle services
MIT License
0 stars 0 forks source link

Use webhook to deploy to servers #6

Closed ArtemSBulgakov closed 2 weeks ago

ArtemSBulgakov commented 8 months ago

Instead of letting GitHub Actions to connect to SSH, we can set up webhooks (ex. https://github.com/adnanh/webhook) which will run a script to pull Docker images and run services.

evermake commented 7 months ago

What's wrong with SSH script?

dantetemplar commented 7 months ago

@evermake Microsoft knows too much about your server

ArtemSBulgakov commented 7 months ago

What's wrong with SSH script?

It gives GitHub access to our servers. If something goes wrong (e.g. GitHub's security mechanisms allowed some modifications in workflows we use), our production servers may be compromised.