Skip to content

Update _quarto.yml

Update _quarto.yml #52

Workflow file for this run

name: website
on:
push:
branches:
- main
jobs:
build:
name: Build website with rmarkdown and Julia
runs-on: ubuntu-latest
container: stateofther/r-finistr2024:0.2
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Julia
uses: julia-actions/setup-julia@v1
with:
version: "1.8" # Specify the Julia version you want to use
- name: Install Julia Packages
run: |
julia -e 'using Pkg; Pkg.add(["DataFrames", "DataFramesMeta", "RDatasets", "CairoMakie", "Gadfly", "Compose", "AlgebraOfGraphics"])'
- name: Additional R packages
run: |
Rscript -e "install.packages(c('tictoc', 'nimble', 'ggmcmc', 'compareMCMCs', 'nimbleHMC', 'mvtnorm'))"
Rscript -e "install.packages(c('simulator', 'simpr', 'SimEngine', 'DT', 'withr', 'bench'))"
Rscript -e "install.packages(c('future', 'furrr', 'purrr', 'cli', 'RhpcBLASctl'))"
Rscript -e "install.packages('rix', repos = c('https://b-rodrigues.r-universe.dev', 'https://cloud.r-project.org'))"

Check failure on line 27 in .github/workflows/website.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/website.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
- name: Additional Python packages
- name: Additional Python packages
run: |
pip install torch torch_geometric
pip install numpy==1.26.1
pip install scikit-learn scikit-network networkx matplotlib tqdm openpyxl pandas
- name: Generate slides
run: "quarto render"
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site