Skip to content

Merge pull request #41 from pa-decarvalho/25-automate-detection-of-a-… #58

Merge pull request #41 from pa-decarvalho/25-automate-detection-of-a-…

Merge pull request #41 from pa-decarvalho/25-automate-detection-of-a-… #58

Workflow file for this run

---
name: pages
on: # yamllint disable-line rule:truthy
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
env:
TASK_VERSION: 3.39.2
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install Dependencies
run: |
wget https://github.com/go-task/task/releases/download/v$TASK_VERSION/task_linux_amd64.deb
sudo dpkg -i task_linux_amd64.deb
pip install poetry
task bootstrap
- name: Publish MkDocs to Github Pages
run: poetry run mkdocs gh-deploy --force