Skip to content

Commit d6f13e1

Browse files
authored
feat: Set project status to Beta and changes name on linting workflo… (#5)
* feat: Sets project status to Beta and changes name on linting workflow file * feat: Adds publish pages workflow
1 parent 9805108 commit d6f13e1

5 files changed

Lines changed: 52 additions & 2 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
jobs:
66
linting:
77
name: Reuse linting job
8-
uses: ./.github/workflows/linting.yml
8+
uses: ./.github/workflows/lint.yml
99

1010
build:
1111
needs: linting
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Publish to GitHub Pages
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
10+
# Allows you to run this workflow manually from the Actions tab
11+
workflow_dispatch:
12+
concurrency:
13+
group: github-pages
14+
cancel-in-progress: false
15+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
16+
permissions:
17+
contents: read
18+
pages: write
19+
id-token: write
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
environment:
24+
name: github-pages
25+
url: ${{ steps.deployment.outputs.page_url }}
26+
steps:
27+
- name: Checkout repository
28+
uses: actions/checkout@v4
29+
- name: Configure Pages
30+
uses: actions/configure-pages@v3
31+
- name: Install Node.js
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version: "18"
35+
- name: Install Antora
36+
run: npm i antora
37+
- name: Install Asciidoctor Kroki extension
38+
run: npm i asciidoctor asciidoctor-kroki
39+
- name: Generate Site
40+
run: npx antora docs/antora-playbook.yml
41+
- name: Create site folders
42+
run: mkdir -p docs/build/site
43+
- name: Upload Artifacts
44+
uses: actions/upload-pages-artifact@v2
45+
with:
46+
path: docs/build/site
47+
- name: Deploy to GitHub Pages
48+
id: deployment
49+
uses: actions/deploy-pages@v2

‎docs/antora-playbook.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ui:
1616
snapshot: true
1717
asciidoc:
1818
attributes:
19-
kroki-server-url: https://kroki.com
19+
kroki-server-url: https://kroki.io
2020
kroki-fetch-diagram: true
2121
extensions:
2222
- asciidoctor-kroki

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers = [
2424
"License :: OSI Approved :: MIT License",
2525
"Programming Language :: Python :: 3",
2626
"Operating System :: OS Independent",
27+
"Development Status :: 4 - Beta"
2728
]
2829

2930
requires-python = ">=3.10"

0 commit comments

Comments
 (0)