Merge pull request #51 from aragonzkresearch/istanbul #39
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: Blogo render | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'blogo-input/**' | |
- 'docs/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download Blogo | |
run: | | |
mkdir -p $HOME/bin | |
curl -sSfL https://github.com/arnaucube/blogo/releases/download/v0_20221124/blogo-amd64-linux -o $HOME/bin/blogo | |
chmod +x $HOME/bin/blogo | |
echo "$HOME/bin" >> $GITHUB_PATH | |
- name: Gen HTML & commit | |
run: | | |
blogo | |
git config user.name blogo-bot | |
git config user.email [email protected] | |
git add . | |
git commit -m "Generate HTML files" | |
git push |