This commit is contained in:
cgi-bin 2023-04-14 18:47:47 +02:00
rodič 8c163b4db2
revize 3229d56c5c
5 změnil soubory, kde provedl 67 přidání a 0 odebrání

47
.github/workflows/mdbook.yml vendorováno Normal file
Zobrazit soubor

@ -0,0 +1,47 @@
name: github pages
on:
push:
branches:
- main
workflow_dispatch:
# 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-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'
- run: mdbook build
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'book'
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

1
.gitignore vendorováno Normal file
Zobrazit soubor

@ -0,0 +1 @@
book

15
book.toml Normal file
Zobrazit soubor

@ -0,0 +1,15 @@
[book]
authors = []
language = "en"
multilingual = false
src = "src"
title = "web3privacy"
description = "todo"
[output.html]
git-repository-url = "https://github.com/web3privacy/web3privacy"
git-repository-icon = "fa-github"
edit-url-template = "https://github.com/web3privacy/web3privacy/edit/main/{path}"
default-theme = "light"
preferred-dark-theme = "navy"
site-url = "/web/"

3
src/SUMMARY.md Normal file
Zobrazit soubor

@ -0,0 +1,3 @@
# Summary
- [Chapter 1](./chapter_1.md)

1
src/chapter_1.md Normal file
Zobrazit soubor

@ -0,0 +1 @@
# Chapter 1