PonyMail Foal does not support visualisations #14
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: Build site | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'source/**/*' | |
- '.github/workflows/build-site.yml' | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Installs | |
run: | | |
sudo pip3 install markdown | |
- name: Build site | |
run: | | |
find content -name '*.html' -delete # Ensure deletions are picked up | |
cd source | |
python3 generate.py | |
cd .. | |
git config --global user.email "[email protected]" | |
git config --global user.name "Ponymail PPMC" | |
git status | |
git add content | |
if git commit -m "Commit build products" | |
then | |
git push | |
else | |
echo "No change" | |
true # ensure step is successful | |
fi |