Update Ubuntu version of GH Actions VM #42
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: compile | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
convert_via_pandoc: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Configure Git for Github | |
run: | | |
git config --global user.name "${GITHUB_ACTOR}" | |
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
- uses: actions/checkout@v2 | |
- uses: r-lib/actions/setup-pandoc@v1 | |
with: | |
pandoc-version: '2.19' | |
- name: Publish Site | |
env: | |
REPOSITORY: "https://${{ secrets.GITHUB_PAT }}@github.com/${{ github.repository }}.git" | |
run: ./publish.sh |