forked from Obitobi117/ContinuesIntegrationKurs
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 869 Bytes
/
ci.yml
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
name: Continuous Integration
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
validate-markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# https://github.com/marketplace/actions/markdown-link-check
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
create-pdf:
needs: validate-markdown
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# https://github.com/marketplace/actions/markdown-to-pdf-and-html
- uses: baileyjm02/markdown-to-pdf@v1
with:
input_path: README.md
output_dir: generated-pdfs
build_html: false
- uses: actions/upload-artifact@v3
with:
name: pdfs
path: generated-pdfs