As mentioned in my previous issues, I am trying to replicate Pages like functionality from GitHub and GitLab. Mosty based on 1dev + externally working Nginx or Caddy. So once generated, static files would be copied over via scp to a server hosting static website.
I am now in phase of developing a build for such a website. Here is an example build from GitLab. I need some suggestions on what would be the best way to port it over to 1dev. I mean, I know I can use:
export JEKYLL_ENV=production
and similar to prepare environmnet, but maybe there is a better way to do it in 1dev I am not aware of.
Variables can be set directly at start of the shell commands as you've discovered. Content of before_script and script can be merged into a single command step. Various only directives can be achieved with job triggers. There is no extends concept in OneDev. However you can reduce duplication with step template.
As mentioned in my previous issues, I am trying to replicate Pages like functionality from GitHub and GitLab. Mosty based on 1dev + externally working Nginx or Caddy. So once generated, static files would be copied over via scp to a server hosting static website.
I am now in phase of developing a build for such a website. Here is an example build from GitLab. I need some suggestions on what would be the best way to port it over to 1dev. I mean, I know I can use:
and similar to prepare environmnet, but maybe there is a better way to do it in 1dev I am not aware of.
Any suggestions would be very much appreciated.