Merge pull request #37 from bkaestner/patch-1 #20
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 to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v1 | |
- name: Check out the style repo | |
run: git clone --depth 1 https://git.sr.ht/~daviwil/daviwil.com daviwil.com | |
- name: Install Emacs | |
uses: purcell/setup-emacs@master | |
with: | |
version: 27.2 | |
- name: Build the site | |
run: | | |
cp -R daviwil.com/public . | |
./local-build.sh | |
- name: Publish generated content to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: public |