docs.yml 580 B

123456789101112131415161718192021222324252627282930
  1. name: Deploy Docs
  2. on:
  3. push:
  4. branches:
  5. - main
  6. jobs:
  7. deploy:
  8. runs-on: ubuntu-18.04
  9. steps:
  10. - uses: actions/checkout@v2
  11. with:
  12. fetch-depth: 0
  13. - name: Setup Go
  14. uses: actions/setup-go@v2
  15. with:
  16. go-version: ${{ env.GO_VERSION }}
  17. - name: Build Docs
  18. run: make docs
  19. - name: Deploy
  20. uses: peaceiris/actions-gh-pages@v3.8.0
  21. with:
  22. github_token: ${{ secrets.GITHUB_TOKEN }}
  23. publish_dir: ./site
  24. cname: external-secrets.io
  25. keep_files: true