Skip to content

apt installg

apt installg #18

Workflow file for this run

name: Publish slides and notebooks
on:
push:
branches:
- main
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: |
pip install -r requirements.txt

Check failure on line 22 in .github/workflows/prod.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/prod.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
sudo apt-get update
sudo apt-get install libglpk-dev
- name: Set up renv
uses: r-lib/actions/setup-renv@v2
- name: Set up quarto
uses: quarto-dev/quarto-actions/setup@v2
- run: |
quarto render --to html
quarto render resources/python.qmd --to ipynb
- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
render: false
target: gh-pages