This repository was archived by the owner on Dec 27, 2025. It is now read-only.
Merge pull request #22 from williamwmarx/feat/github-releases #42
This file contains hidden or 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 markdown files | |
| on: push | |
| jobs: | |
| markdown-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: '>=1.19.0' | |
| - name: Build | |
| run: go run assembly/main.go | |
| - name: Git commit and push files | |
| run: | | |
| if [ -n "$(git status --porcelain)" ]; then | |
| git config --global user.name "GitHub Actions Bot" | |
| git config --global user.email "<>" | |
| git add -A | |
| git commit -m "Markdown build $(date)" | |
| git push -u origin HEAD | |
| fi |