Add Virtual Infrastructure Chair page (virtual.md) #5
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: | |
- main # Change this to your default branch if not using 'main' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest # You can choose a different runner if needed | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x # Choose the desired Python version | |
- name: Install dependencies | |
run: | | |
pip install mkdocs | |
- name: Build and deploy | |
run: | | |
cd my-project | |
mkdocs gh-deploy --force |