Update tests.qmd #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
workflow_call: | |
push: | |
branches: [main, reports, quarto] | |
paths: | |
- '**.qmd' | |
- '_quarto.yml' | |
name: "Publish Quarto Website to GitHub Pages" | |
concurrency: | |
group: ${{ github.repository }}-${{ github.event.number || github.head_ref || github.sha }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Install APT dependencies | |
run: | | |
sudo apt update | |
sudo apt -y install librsvg2-bin | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up Quarto | |
uses: quarto-dev/quarto-actions/setup@v2 | |
with: | |
tinytex: true | |
- name: Install Python and Dependencies | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
cache: 'pip' | |
# - run: pip install -r requirements.txt | |
# - run: pip install jupyter schemdraw[svgmath] ziamath numpy==1.26.4 pandas matplotlib | |
- name: Render and Publish | |
uses: quarto-dev/quarto-actions/publish@v2 | |
with: | |
target: gh-pages | |
path: quarto | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |