Skip to content

Commit

Permalink
automatizando o deploy da gitpages
Browse files Browse the repository at this point in the history
  • Loading branch information
Edumorais08 committed Nov 13, 2024
1 parent ce1b186 commit 4135882
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy Documentation to GitHub Pages

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Check out the code
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 mkdocs mkdocs-material # Adicione outros pacotes necessários aqui
- name: Deploy to GitHub Pages
env:
CI: true
run: |
mkdocs gh-deploy --force

0 comments on commit 4135882

Please sign in to comment.