blob: e9fe05291cdb3104dcb142bf73bb5220f4e84b1a [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001name: Publish docs via GitHub Pages
2on:
3 push:
4 branches:
5 - master
Adrià Vilanova Martínezb9877ce2023-11-30 01:05:04 +01006 - main
Copybara botbe50d492023-11-30 00:16:42 +01007 paths:
8 - 'docs/**'
9
10jobs:
11 build:
12 name: Deploy docs
13 runs-on: ubuntu-latest
14 steps:
15 - name: Checkout master
16 uses: actions/checkout@v1
17
18 - name: Deploy docs
19 uses: mhausenblas/mkdocs-deploy-gh-pages@master
20 env:
21 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}