Quarto Publish #5
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: | |
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@v2 | |
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 | |
- name: Render and Publish | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "mgraffg" | |
cd quarto | |
quarto publish gh-pages . --no-browser | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |