forked from docs/doc-exports
addingi conversions gitea action
This commit is contained in:
27
.gitea/workflows/convert-html-docs.yaml
Normal file
27
.gitea/workflows/convert-html-docs.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
name: Install Pandoc from Source
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize, edited]
|
||||
|
||||
jobs:
|
||||
install-pandoc:
|
||||
runs-on: ubuntu-latest # adjust to your runner label
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Download Pandoc 2.19.2
|
||||
run: |
|
||||
curl -L -o pandoc.tar.gz \
|
||||
https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-linux-amd64.tar.gz
|
||||
|
||||
- name: Extract and Install Pandoc
|
||||
run: |
|
||||
tar -xzf pandoc.tar.gz
|
||||
cd pandoc-2.19.2-linux-amd64
|
||||
cp pandoc /usr/local/bin/
|
||||
cp pandoc.1 /usr/local/share/man/man1/
|
||||
chmod +x /usr/local/bin/pandoc
|
||||
|
||||
- name: Verify Installation
|
||||
run: pandoc --version
|
||||
Reference in New Issue
Block a user