Update slides #13
This file contains hidden or 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: | |
| push: | |
| branches: | |
| - main | |
| name: deploy-rmd | |
| jobs: | |
| deploy-rmd: | |
| runs-on: ${{ matrix.config.os }} | |
| name: ${{ matrix.config.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - {os: macOS-latest} | |
| env: | |
| R_REMOTES_NO_ERRORS_FROM_WARNINGS: true | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - name: Check out repo | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: Prepare files to deploy | |
| run: | | |
| mkdir _site | |
| mkdir _site/slides | |
| cp -r index.html _site/ | |
| cp -r css _site/slides | |
| cp expdesign_lecture.html _site/slides/index.html | |
| cp expdesign_practical.html _site/expdesign_practical.html | |
| cp design_matrices.html _site/design_matrices.html | |
| cp MStadler_ScientificInquiry_Part2_2025.pdf _site/MStadler_ScientificInquiry_Part2_2025.pdf | |
| # 2024 | |
| cp -r 2024 _site/2024 | |
| # 2025 | |
| cp -r 2025 _site/2025 | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@releases/v3 | |
| with: | |
| ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BRANCH: gh-pages | |
| FOLDER: _site |