Skip to content

We need to install pandoc #4

We need to install pandoc

We need to install pandoc #4

Workflow file for this run

on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Print job info
run: echo "This job was automatically triggered by a ${{ github.event_name }} event. It is now running on a ${{ runner.os }} server hosted by GitHub! The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Install pandoc
run: sudo apt-get install -y pandoc
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.9.13'
- name: Check out the commit that triggered this job
uses: actions/checkout@v4
- name: Regenerate the HTML
run: |
python -m venv venv/
source venv/bin/activate
pip install pypandoc
python abcdune.py -i glossary.tex -d defs.tex -o docs/index.html
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: docs/
# 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@v4