Oya task is a bash script defined as a Oyafile key.
Tasks in Oyafile are defined as a yaml keys, with pipe at the beginning line and bash code in following.
Our server is golang app so before starting it needs to be compiled.
Let’s say we want to store our port as a value. We can create file server.oya with:
If you want to learn more about Values - click
here