-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (43 loc) · 1.23 KB
/
lint-build-publish.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
name: Build Static Content
on:
workflow_dispatch:
push:
branches:
- 'main'
jobs:
markdown-lint:
name: Lint markdown files
uses: stuttgart-things/stuttgart-things/.github/workflows/call-markdown-lint.yaml@main
with:
environment-name: k8s
runs-on: ghr-docs-skyami-cicd
continue-error: true
alpine-version: 3.19.0
lintprofile-path: .markdownlint.rb
artifact-name: md-lint
yaml-lint:
name: Lint yaml files
uses: stuttgart-things/stuttgart-things/.github/workflows/call-yaml-lint.yaml@main
with:
environment-name: k8s
runs-on: ghr-docs-skyami-cicd
continue-error: true
yamllint-version: 1
lintprofile-path: .yamllint
artifact-name: yaml-lint
build-hugo:
name: Build hugo
uses: stuttgart-things/stuttgart-things/.github/workflows/call-hugo-build.yaml@main
needs:
- markdown-lint
- yaml-lint
with:
environment-name: k8s
runs-on: ghr-docs-skyami-cicd
image: floryn90/hugo:0.126.1-ext-ubuntu-ci
creation-script-path: hugo/create-content.sh
site-name: blog
s3-bucket: hugo
s3-endpoint: https://artifacts.app1.sthings-vsphere.labul.sva.de:443
secrets: inherit