Skip to content
Snippets Groups Projects
Commit 649b4b75 authored by Andrei Jiroh Eugenio Halili's avatar Andrei Jiroh Eugenio Halili :school:
Browse files

Initial setup chores

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #12161 failed
# The Docker image that will be used to build your app
image:
name: quay.io/ajhalili2006/mkdocs-material-build-ci:latest
stages:
- test
- build
- sync-repo
default:
tags:
- amd64 # currently, we only the image in amd64 right now.
# Functions that should be executed before the build script is run
before_script:
- pip3 install -r --upgrade requirements.txt
- npm ci
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
# Global builds and stuff
variables:
DEBUG: "1" # MAY HORRIBLY LEAK SECRETS, PROCEED WITH CAUTION
FF_ENABLE_COMMIT_DATA: "true"
FF_GENERATE_SOCIAL_CARDS: "true"
SECURE_FILES_DOWNLOAD_PATH: .secretskit
GIT_DEPTH: "0"
pages:
stage: build
script:
- mkdocs build -d public
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
- public
variables:
CF_PAGES_PROJECT_NAME: ajhalili2006
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
.pages:srht:
stage: build
needs:
- pages
script:
- doppler run -- ./bin/deploykit-gmi.sh
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
# TODO: Automate this over at mirrors/cronjobs soon.
.sync-branch:
stage: sync-repo
allow_failure: true
script:
- |
set -x
eval $(ssh-agent)
ssh-add $PWD/.secretskit/passwordless
git push "git@git.sr.ht:~ajhalili2006/garden-monorepo" --mirror || true
# ~ajhalili2006's digital garden website
[![open in agora badge](https://img.shields.io/badge/open%20in%20agora-black?style=flat-square)](https://anagora.org/@ajhalili2006)
[![kooky insane stuff repo](https://img.shields.io/badge/Jiroh's%20Kooky%20Insane%20Stuff-blue?style=flat-square)](https://mau.dev/ajhalili2006-experiments/kooky-insane-stuff)
To be copied soon.
\ No newline at end of file
# Welcome to the garden!
This is the website version of the following repositories from @[[ajhalili2006]] himself:
* [Kooky Insane Stuff](https://github.com/ajhalili2006-experiments/kooky-insane-stuff)
* [Digital Garden](https://mau.dev/andreijiroh.dev/digital-garden)
\ No newline at end of file
site_name: ~ajhalili2006's digital garden
site_author: "@ajhalili2006@tilde.zone"
site_url: https://garden.andreijiroh.eu.org
repo_name: sources
repo_url: https://mau.dev/andreijiroh.dev/webapps/garden-monorepo
edit_uri: edit/main/docs
# Theme settings
theme:
name: material
icon:
logo: octicons/book-16
# TODO: Use Material icons instead of this
admonition:
note: octicons/tag-16
abstract: octicons/checklist-16
info: octicons/info-16
tip: octicons/squirrel-16
success: octicons/check-16
question: octicons/question-16
warning: octicons/alert-16
failure: octicons/x-circle-16
danger: octicons/zap-16
bug: octicons/bug-16
example: octicons/beaker-16
quote: octicons/quote-16
favicon: assets/branding/default-favicon_512.png
features:
- announce.dismiss
- content.action.edit
- content.action.view
- content.code.annotate
- content.code.copy
# - content.tabs.link
- content.tooltips
# - header.autohide
# - navigation.expand
- navigation.footer
- navigation.indexes
# - navigation.instant
# - navigation.prune
- navigation.sections
- navigation.tabs
# - navigation.tabs.sticky
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
# - toc.integrate
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: teal
accent: cyan
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: teal
accent: cyan
toggle:
icon: material/brightness-4
name: Switch to light mode
# Extensions
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- wikilinks
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink:
normalize_issue_symbols: true
repo_url_shorthand: true
user: squidfunk
repo: mkdocs-material
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.snippets:
auto_append:
- includes/mkdocs.md
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
combine_header_slug: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
plugins:
- search
- blog:
blog_dir: updates
post_url_format: "{slug}"
post_url_max_categories: 2
post_slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
draft_if_future_date: true
authors_file: "{blog}/authors.yml"
- rss:
enabled: !ENV [CI, false]
match_path: updates/posts/.*
date_from_meta:
as_creation: date
categories:
- categories
- tags
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment