Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaldojr committed Oct 18, 2024
1 parent 0ddd56d commit 0b7b555
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: ci
on:
push:
branches:
- main

# Environment
env:
CI: true
PYTHON_VERSION: 3.x

# Jobs to run
jobs:

# Build and deploy documentation site
deploy:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:

# Checkout source form GitHub
- uses: actions/checkout@v2

# Install Python runtime and dependencies
- uses: actions/setup-python@v1
with:
python-version: ${{ env.PYTHON_VERSION }}

# pip
- run: |
pip install -r requirements.txt
pip install mkdocs-minify-plugin>=0.2
# deploy
- run: |
mkdocs gh-deploy --force
mkdocs --version

0 comments on commit 0b7b555

Please sign in to comment.