blob: a7a0c36b7cb43a61dd180cbfffbe1bc8d9c50da4 [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/**'
Adrià Vilanova Martínez18b329f2023-11-30 01:13:12 +01009 workflow_dispatch:
Copybara botbe50d492023-11-30 00:16:42 +010010
11jobs:
12 build:
13 name: Deploy docs
14 runs-on: ubuntu-latest
15 steps:
16 - name: Checkout master
Renovate bot9af037c2023-12-30 02:18:24 +000017 uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
Copybara botbe50d492023-11-30 00:16:42 +010018
19 - name: Deploy docs
20 uses: mhausenblas/mkdocs-deploy-gh-pages@master
21 env:
22 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}