https://6notes.github.io/tweeExample/
This repo demonstrates the
Modern Developer's Workflow by Em Lazer-Walker.
It also demonstrates compiling multiple files in the passages
directory.
- When copying as a template, these steps need to be done:
- Going to
Settings -> Actions -> General -> Workflow permissions
and:- turning on 'Allow GitHub Actions to create and approve pull requests'
- selecting the 'Read and write permissions' option
- Going to
Settings -> Secrets and variables -> Actions
and creating these repository variables:OUTPUT_DIRECTORY
with the value ofdist
.OUTPUT_FILENAME
with the value ofindex.html
.
- Going to
Settings -> Pages -> Build and deployment
and changing the branch topages
or whatever yourpublish_branch
is in your workflow actionpeaceiris/actions-gh-pages@v3
section.
- Going to
You can use mkdir -p ./dist && tweego -o ./dist/index.html ./passages
then
open the index.html
file to view your changes.