github.com/evdatsion/aphelion-dpos-bft@v0.32.1/.github/workflows/docs.yml (about)

     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  
     9  jobs:
    10    build-and-deploy:
    11      runs-on: ubuntu-latest
    12      container:
    13        image: tendermintdev/docker-website-deployment
    14      steps:
    15        - name: Checkout 🛎️
    16          uses: actions/checkout@v2.3.1
    17          with:
    18            persist-credentials: false
    19            fetch-depth: 0
    20  
    21        - name: Install and Build 🔧
    22          run: |
    23            apk add rsync
    24            make build-gh-docs
    25  
    26        - name: Deploy 🚀
    27          uses: JamesIves/github-pages-deploy-action@3.7.1
    28          with:
    29            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    30            BRANCH: gh-pages
    31            FOLDER: ~/output