-
-
Notifications
You must be signed in to change notification settings - Fork 46
Add marmite
template to GitLab's built-in project templates
#216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Great idea, the starting point can be this repo https://github.com/rochacbruno/blog/blob/main/.github/workflows/main.yaml |
Nice! I'll take a look! |
I just created a repo from https://github.com/rochacbruno/blog and changed the pipeline to GitLab's CI/CD. Here's the new repo and the # The Docker image that will be used to build your app
image: rust:1.84.1
# Functions that should be executed before the build script is run
before_script:
- "cargo install marmite # 🫙"
pages:
script:
- "marmite . public --debug # 🏗️"
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
- public
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH The rendered template blog is here: https://luxedo.gitlab.io/marmite/ As is, this GitLab template can be forked and will work fine. In order to include this in the GitLab's project template list there's still some things to do:
Before proceeding with this process @rochacbruno would you like to own the GitLab's |
You can keep under your username and give me permissions? I use the same username there. I am also ok with the idea of an org, what works better for you? |
GitLab has several built-in project templates and they are open for contribution.
Perhaps integrating it with GitLab Pages and a simple CI/CD pipeline would make it very easy to build and host a
marmite
project.If that's something interesting I'd be glad to take a look. I'm not familiar with
marmite
yet so I'd need some help specifying the requirements and the structure for this template.The text was updated successfully, but these errors were encountered: