Skip to content

Commit

Permalink
Merge pull request #29 from unb-mds/develop
Browse files Browse the repository at this point in the history
Fix(#11) deploy MkDocs in Github Pages
  • Loading branch information
rafgpereira authored Apr 6, 2024
2 parents 5a1946a + 03a4cd4 commit cf4becd
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 30 deletions.
29 changes: 0 additions & 29 deletions .github/templates/workflows/workflow.yaml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI Deploy Docs

on:
pull_request:
branches:
- main

permissions:
contents: write
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy-docs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install Mkdocs and Material theme
run: |
pip install mkdocs
pip install mkdocs-material
- name: Build Mkdocs
working-directory: ./docs
run: |
mkdocs build
- name: Deploy Mkdocs to GitHub Pages
working-directory: ./docs
run: |
mkdocs gh-deploy --force
38 changes: 38 additions & 0 deletions docs/docs/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#Equipe

<div style="display: flex; flex-direction: column; align-items: center; gap: 25px;">
<div style="display: flex; align-items: end; justify-content: center; gap: 50px;">
<div style="text-align: center;">
Rafael Pereira
<br/>
<img src="https://avatars.githubusercontent.com/u/81361524?v=4" alt="Foto Rafael Pereira" width="130px" height="50%" style="border-radius:50%"/>
</div>
<div style="text-align: center;">
Johan Rocha
<br/>
<img src="https://avatars.githubusercontent.com/u/104279524?v=4" alt="Foto Johan Rocha" width="130px" height="50%" style="border-radius:50%"/>
</div>
<div style="text-align: center;">
João Pedro
<br/>
<img src="https://avatars.githubusercontent.com/u/130873951?v=4" alt="Foto João Pedro" width="130px" height="50%" style="border-radius:50%"/>
</div>
</div>
<div style="display: flex; align-items: end; justify-content: center; gap: 50px;">
<div style="text-align: center;">
João Lucas
<br/>
<img src="https://avatars.githubusercontent.com/u/143570377?v=4" alt="Foto João Lucas" width="130px" height="50%" style="border-radius:50%"/>
</div>
<div style="text-align: center;">
Carlos Eduardo
<br/>
<img src="https://avatars.githubusercontent.com/u/122990784?v=4" alt="Foto Carlos Eduardo" width="130px" height="50%" style="border-radius:50%"/>
</div>
<div style="text-align: center;">
Daniel Ferreira
<br/>
<img src="https://avatars.githubusercontent.com/u/118537519?v=4" alt="Foto Daniel Ferreira" width="130px" height="50%" style="border-radius:50%"/>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ nav:
- Sprints:
- sprint 0: sprints/sprint-0.md
- sprint 1: sprints/sprint-1.md

- Sobre: about.md


theme:
Expand Down

0 comments on commit cf4becd

Please sign in to comment.