Fix: GitHub workflow script injection (#1936) #112
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
# This is a basic workflow to help you get started with Actions | |
name: Publish site | |
on: | |
release: | |
types: [published] | |
push: | |
branches: | |
- master | |
- docs | |
jobs: | |
publish: | |
name: Publish the site | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository normally | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install Mkdocs | |
run: pip install -r docs/requirements.txt | |
- name: Run Mkdocs deploy | |
run: mkdocs gh-deploy --force |