Trigger deploy action
@@ -36,10 +36,16 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- - name: Setup mdBook
+ - name: Build mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'
- run: |
cd book
mdbook build
+ - name: Deploy mdBook
+ - run: |
+ curl -X POST https://api.github.com/repos/openmls/book/dispatches \
+ -H 'Accept: application/vnd.github.everest-preview+json' \
+ -u ${{ secrets.ACCESS_TOKEN }} \
+ --data '{"event_type": "deploy"}'
