Skip to content

Deploy EAPM-plugin documentation to Pages #3

Deploy EAPM-plugin documentation to Pages

Deploy EAPM-plugin documentation to Pages #3

Workflow file for this run

name: Deploy EAPM-plugin documentation to Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build_docs:
runs-on: ubuntu-latest
name: Build docs
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch all history for all branches and tags
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: Devtools/Environment/docs.yaml
environment-name: eapmPlugin_docs
cache-environment: true
download-micromamba: true
- name: Build docs
run: |
cd docs && make html
- name: where
run: pwd
- name: Deploy documentation
if: success()
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html
user_name: "Albert Cañellas"
user_email: "[email protected]"