You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
744 B

  1. name: Documentation
  2. # This job builds and deploys documenation to github pages.
  3. # It runs on every push to master.
  4. on:
  5. push:
  6. branches:
  7. - master
  8. jobs:
  9. build-and-deploy:
  10. runs-on: ubuntu-latest
  11. container:
  12. image: tendermintdev/docker-website-deployment
  13. steps:
  14. - name: Checkout 🛎️
  15. uses: actions/checkout@v2.3.1
  16. with:
  17. persist-credentials: false
  18. fetch-depth: 0
  19. - name: Install and Build 🔧
  20. run: |
  21. apk add rsync
  22. make build-gh-docs
  23. - name: Deploy 🚀
  24. uses: JamesIves/github-pages-deploy-action@3.7.1
  25. with:
  26. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  27. BRANCH: gh-pages
  28. FOLDER: ~/output