From 367655ab9db0925f9382047e3e07df6941923fc4 Mon Sep 17 00:00:00 2001 From: FeliPython Date: Sun, 31 Mar 2024 21:08:36 -0300 Subject: [PATCH] Add GitHub Actions CI Workflow A new continuous integration (CI) workflow has been added to the project using GitHub Actions. This setup builds and deploys the project when changes are pushed to the main branch. It uses the latest Ubuntu version, Python 3.x, and includes steps for installing required libraries and deploying the built documentation. --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c0fb34c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: ci +on: + push: + branches: + - main +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: .cache + - run: pip install mkdocs-material + - run: pip install pillow cairosvg + - run: mkdocs gh-deploy --force