generated from martinthomson/internet-draft-template
-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (30 loc) · 793 Bytes
/
common.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
34
35
36
37
name: Generate preview
on:
workflow_call:
jobs:
build:
name: Update
runs-on: ubuntu-22.04
steps:
- name: Checkout 📋
uses: actions/checkout@v2
- name: Run spellchecker
uses: crate-ci/[email protected]
- name: Setup 🏗️
run: |
sudo apt-get install --yes xml2rfc ruby
sudo gem install kramdown-rfc
- name: Generate 🔨
run: |
/usr/local/bin/kramdown-rfc2629 --v3 draft-ietf-acme-dns-account-challenge.mkd > docs/draft.xml
cd docs
xml2rfc --text --html --v3 draft.xml
mv draft.html index.html
- name: Store Output
uses: actions/upload-artifact@v3
with:
name: draft
path: |
docs/index.html
docs/draft.xml
retention-days: 2