Skip to content

deployment secret

deployment secret #2

Workflow file for this run

name: Deploy MkDocs Site
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
run: |
mkdocs build --verbose
mkdocs gh-deploy --force