This repository was archived by the owner on Dec 27, 2025. It is now read-only.
Merge pull request #23 from williamwmarx/fix/markdown-workflow-pr #13
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 and deploy releases | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: '>=1.19.0' | |
| - name: Build | |
| run: make | |
| - name: Deploy | |
| run: | | |
| gh release delete latest --yes || true | |
| gh release create latest releases/* --title "Latest" --notes "Auto-updated on push to main" | |
| env: | |
| GH_TOKEN: ${{ github.token }} |