Merge pull request #45 from pa-decarvalho/44-change-contributing #60
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: 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 |