diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..aad5b734 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,24 @@ +name: Deploy MkDocs site to GitHub Pages +on: + push: + branches: + - main # Branch para deploy +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Check out the repository + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + + - name: Install MkDocs and dependencies + run: | + pip install mkdocs mkdocs-material + + - name: Deploy to GitHub Pages + run: | + mkdocs gh-deploy --force