Skip to content

Remove notebook

Remove notebook #8

Workflow file for this run

name: Notebook Workflow
on:
push:
branches:
- master
paths:
- 'Notebook/**'
workflow_dispatch:
jobs:
generate-notebook:
runs-on: ubuntu-latest
steps:

Check failure on line 15 in .github/workflows/notebook.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/notebook.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Update and install prerequisites
run: sudo apt-get update
- name: Install aptitude
run: sudo apt-get install -y aptitude
- name: Install TeX Live and extra packages
run: sudo aptitude install -y texlive texlive-latex-extra
- name: Install notebook generator
run: npm install -g notebook-generator
- name: Generate PDF Notebook
run: notebook-generator ./Notebook --author "Mauricio Cari Leal" --size 9 --image ./.Assets/UC-Logo
- name: Configure Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@mc-cari.github.io'
- name: Commit and Push Changes
run: |
git add .
git commit -m "Update generated notebook" || true
git push