Update publish.yml #151
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: Publish blog | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v1 | |
- name: Install Emacs | |
run: sudo apt install emacs-nox --yes | |
- name: Install imagemagick | |
run: sudo apt install imagemagick --yes | |
- name: Install make | |
run: sudo apt install make --yes | |
- name: Run make | |
run: make blog | |
- name: Publish generated content to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@4.1.4 | |
with: | |
branch: gh-pages | |
folder: public |