Specify numpy version in pr_action.yml and website.yml #10
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 | ||
runs-on: ubuntu-latest | ||
container: stateofther/r-finistr2024:0.1 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Additional R packages | ||
run: | | ||
Rscript -e "install.packages(c('tictoc', 'nimble', 'ggmcmc', 'compareMCMCs', 'nimbleHMC', 'mvtnorm'))" | ||
- 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 |