github.com/quay/claircore@v1.5.28/.github/workflows/update.yml (about)

     1  ---
     2  name: Deploy Main
     3  
     4  on:
     5    push:
     6      branches:
     7        - main
     8  
     9  jobs:
    10    deploy-documentation:
    11      runs-on: ubuntu-latest
    12      steps:
    13        - name: Checkout
    14          uses: actions/checkout@v4
    15  
    16        - name: Setup mdBook
    17          uses: peaceiris/actions-mdbook@v2
    18          with:
    19            mdbook-version: 'latest'
    20  
    21        - name: mdBook Build
    22          run: mdbook build
    23  
    24        - name: Deploy
    25          uses: peaceiris/actions-gh-pages@v4.0.0
    26          with:
    27            github_token: ${{ secrets.GITHUB_TOKEN }}
    28            publish_dir: ./book
    29            keep_files: true
    30            allow_empty_commit: false