UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit 4b6d5b20 authored by Gregory Westover's avatar Gregory Westover
Browse files

Merge branch '2-create-student-antora-page' into 'master'

Resolve "Create Student Antora Page"

Closes #2

See merge request !3
parents 552f0710 bcefc149
1 merge request!3Resolve "Create Student Antora Page"
Pipeline #44702 failed with stages
in 33 seconds
stages:
- SITE
- SLIDE
pages:
tags:
- docker
stage: SITE
image:
name: antora/antora:latest
entrypoint: [/bin/sh, -c]
script:
- antora site.yml
- echo '<html><meta http-equiv="refresh" content="0; url=./students/latest/index.html"/></html>' > students/index.html
artifacts:
expire_in: 3 mos
paths:
- public
only:
refs:
- master
# variables:
# - $CI_COMMIT_MESSAGE =~ /gensite/
generate_adoc-slides:
tags:
- docker
stage: SLIDE
image: asciidoctor/docker-asciidoctor:latest
variables:
GIT_LFS_SKIP_SMUDGE: "1"
script: |
apk --update add grep
grep -rlIi ":slides: true" --include=*.adoc | while read adoc;do asciidoctor-revealjs --timings --failure-level WARN -a revealjs_slideNumber=true -a customcss=https://git.cybbh.space/os/public/-/jobs/$CI_JOB_ID/artifacts/raw/slides/misc/custom.css -a revealjsdir=https://cdn.jsdelivr.net/npm/reveal.js@3.9.2 $adoc; done
only:
refs:
- master
# variables:
# - $CI_COMMIT_MESSAGE =~ /genslides/
artifacts:
paths:
- slides/misc/custom.css
untracked: true
expire_in: 3 mos
= students
https://os.cybbh.io/students[Students Antora Site]
= Student Quick Links
== Surveys
......
site.yml 0 → 100644
site:
title: Cyber Common Technical Core - Students Repo
content:
sources:
- url: .
branches: HEAD
start_path: students
ui:
bundle:
url: https://git.cybbh.space/common/contributing-ui/-/jobs/artifacts/master/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true
output:
dir: ./students
name: students
title: Students
version: 'latest'
nav:
- modules/ROOT/nav.adoc
\ No newline at end of file
* Test
\ No newline at end of file
Test
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment