docs.yml 502 B

12345678910111213141516171819202122232425262728
  1. name: Deploy Docs
  2. on:
  3. push:
  4. branches:
  5. - main
  6. - feature/docs-versioning
  7. env:
  8. # Common versions
  9. GO_VERSION: '1.17'
  10. jobs:
  11. deploy:
  12. runs-on: ubuntu-18.04
  13. steps:
  14. - uses: actions/checkout@v2
  15. with:
  16. fetch-depth: 0
  17. - name: Setup Go
  18. uses: actions/setup-go@v2
  19. with:
  20. go-version: ${{ env.GO_VERSION }}
  21. - name: Build Docs
  22. run: make docs.publish
  23. env:
  24. GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"