docs.yml 418 B

123456789101112131415161718192021222324
  1. name: Deploy Docs
  2. on:
  3. push:
  4. branches:
  5. - main
  6. jobs:
  7. deploy:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v3
  11. with:
  12. fetch-depth: 0
  13. - name: Setup Go
  14. uses: actions/setup-go@v3
  15. with:
  16. go-version-file: "go.mod"
  17. - name: Build Docs
  18. run: make docs.publish
  19. env:
  20. GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"