Skip to content

Commit

Permalink
gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Valdes-Tresanco-MS committed Nov 10, 2023
1 parent 2029c05 commit 5cd1ebc
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: xBFreE-Analyzer Documentation
on:
push:
branches:
- master
- main

env:
PYTHON_VERSION: 3.x

jobs:
documentation:
name: Build documentation
runs-on: ubuntu-latest
steps:

- name: Checkout repository
uses: actions/checkout@v2
with:
# Number of commits to fetch. 0 indicates all history. For mkdocs-git-revision-date-localized-plugin
# Default: 1
fetch-depth: 0

- name: Set up Python runtime
uses: actions/setup-python@v1
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install Python dependencies
run: |
pip install -r ./docs/requirements.txt
- name: Deploy documentation
env:
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
run: |
mkdocs gh-deploy --force
mkdocs --version

0 comments on commit 5cd1ebc

Please sign in to comment.