Update _quarto.yml #52
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
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'))" | ||
- 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 |