Merge pull request #3 from nomad-coe/entry-point #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy-mkdocs | |
on: | |
push: | |
branches: | |
- develop # Triggers deployment on push to the main branch | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install mkdocs mkdocs-material==8.1.1 pymdown-extensions mkdocs-click | |
- name: Build and Deploy | |
run: | | |
mkdocs gh-deploy --config-file ../nomad-normalizer-plugin-dos/mkdocs.yml --force --remote-branch gh-pages |