C
C
Captain Cocoa2021-06-29 12:01:39
SSH
Captain Cocoa, 2021-06-29 12:01:39

Is it possible to automate the process from Github to ssh hosting?

Hello.
Now, in order to upload the latest version of PVA on React to the hosting, I do the following steps:
1. git commit
2. yarn build
3. serve -s build
4. archive the build folder, upload it to xsoting and unzip it.

And I want to connect hosting with git and automate this process.

Like if I send a commit to git, after that the project should automatically build and the compiled version should be sent to the hosting via ssh.

Is it realistic to do so? In which direction to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2021-06-29
@RadCor

GitHub actions
Webhook

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question