Update profile #115
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: | |
| pull_request: | |
| branches: | |
| - main | |
| name: 📦 Check build | |
| jobs: | |
| build: | |
| runs-on: macOS-latest | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup R | |
| uses: r-lib/actions/setup-r@v2 | |
| - name: Setup Pandoc | |
| uses: r-lib/actions/setup-pandoc@v2 | |
| - name: Install rmarkdown and blogdown | |
| run: Rscript -e 'install.packages(c("rmarkdown","blogdown", "remotes"))' | |
| - name: Install hugo | |
| run: Rscript -e 'blogdown::install_hugo("0.150.0")' # Latest is currently broken | |
| - name: Build site with blogdown | |
| run: Rscript -e 'tryCatch(blogdown::build_site(), error = function(e) { message(e); quit(status = 1) })' |