Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: trail.protocol
on:
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: github-pages
cancel-in-progress: false
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Configure Pages
uses: actions/configure-pages@v5
- name: Install Node.js
uses: actions/setup-node@v5
with:
node-version: '18'
- name: Install Antora
run: npm i antora
- name: Generate Site
run: npx antora antora-playbook.yml
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v4
with:
path: build/site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
20 changes: 20 additions & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
site:
title: Trail.Protocol
start_page: Trial.Protocol:ROOT:index.adoc
content:
sources:
- url: https://github.com/Cleison-oliveira/trial.protocol.git
branches: HEAD
start_path: doc
ui:
bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
supplemental_files:
- path: partials/header-content.hbs
contents: ./supplemental-ui/partials/header-content.hbs
- path: partials/footer-content.hbs
contents: ./supplemental-ui/partials/footer-content.hbs
- path: .nojekyll
contents: |
static_files:
- .nojekyll
60 changes: 0 additions & 60 deletions doc/Jamfile.v2

This file was deleted.

7 changes: 7 additions & 0 deletions doc/antora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Trial.Protocol
version: v1.0
asciidoc:
attributes:
table-caption: false
nav:
- modules/nav.adoc
122 changes: 0 additions & 122 deletions doc/core/adapter.qbk

This file was deleted.

17 changes: 0 additions & 17 deletions doc/core/core.qbk

This file was deleted.

17 changes: 0 additions & 17 deletions doc/core/serialization.qbk

This file was deleted.

45 changes: 0 additions & 45 deletions doc/dynamic/Jamfile.v2

This file was deleted.

Loading