Skip to content

Quarto Publish

Quarto Publish #37

Workflow file for this run

on:
workflow_dispatch:
name: Quarto Publish
jobs:
build-deploy:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true
# version: "pre-release"
- name: Set up Python
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: test
auto-update-conda: true
python-version: "3.10"
channels: conda-forge
allow-softlinks: true
channel-priority: flexible
show-channel-urls: true
- name: Install dependencies
run: |
conda install --yes -c plotly plotly numpy scipy scikit-learn pandas jupyter evomsa dialectid tabulate
- name: Render and Publish
run: |
git config --global user.email "[email protected]"
git config --global user.name "mgraffg"
cd quarto
quarto publish gh-pages dialectid.qmd --no-browser
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}