Fix version error #3
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 | |
env: | |
ENV: prod | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Install Emacs | |
uses: purcell/setup-emacs@master | |
with: | |
version: 29.2 | |
- name: Build the site | |
run: | | |
echo "Running in env: $ENV" | |
emacs --script $GITHUB_WORKSPACE/publish.el | |
- name: Publish generated content to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: public |