From 04ef98e8adbd3f445783a9ddc81394f766629b11 Mon Sep 17 00:00:00 2001 From: OscarDeBrito Date: Mon, 1 Apr 2024 16:06:50 -0300 Subject: [PATCH] adiciona flow pages --- .github/workflows/actionsflow.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/actionsflow.yml b/.github/workflows/actionsflow.yml index e69de29b..bef48142 100644 --- a/.github/workflows/actionsflow.yml +++ b/.github/workflows/actionsflow.yml @@ -0,0 +1,30 @@ +name: Deploy MkDocs to GitHub Pages + +on: + push: + branches: + - pages + +permissions: + contents: write + +jobs: + + deploy: + runs-on: ubuntu-latest + + steps: + + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - uses: actions/cache@v2 + + with: + key: ${{ github.ref }} + path: .aux + + - run: pip install mkdocs-material + - run: mkdocs build + - run: mkdocs gh-deploy --force \ No newline at end of file