Trying to get this right lol. #19
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: | ||
- master | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v1 | ||
- name: Install Hugo | ||
run: sudo apt install hugo | ||
- name: Build the site | ||
run: hugo mod init jordanherzstein.xyz | ||
run: hugo --config hugo.toml | ||
- name: Publish generated content to GitHub Pages | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: public |