Skip to content

Commit

Permalink
Merge pull request #5 from Interacao-Humano-Computador/config/doc
Browse files Browse the repository at this point in the history
adicionando workflows
  • Loading branch information
LuizaMaluf authored Nov 5, 2024
2 parents 1395ca6 + 2b7326c commit 748e811
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy to GitHub Pages
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material

- name: Build MkDocs Site (for Pull Request)
if: github.event_name == 'pull_request'
run: mkdocs build

- name: Build and Deploy MkDocs Site (for main branch)
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: mkdocs gh-deploy --force

0 comments on commit 748e811

Please sign in to comment.