Gitlab pipelines for .net core on redhat server

Hello, everybody

I have web application on . net core and I would like it to deploy to my server RedHat with CI/CD. Does someone have example on .gitlab-ci.yml?

Thanks