Skip to content

Commit

Permalink
chore: upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sgomez committed Jan 22, 2024
1 parent 96265ec commit 49a9ad6
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,25 @@ on:

# Environment
env:
PYTHON_VERSION: 3.9
POETRY_VERSION: 1.1.13
PYTHON_VERSION: 3.10

jobs:
# Build and deploy documentation site
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout source form GitHub
uses: actions/checkout@v2

uses: actions/checkout@v5
- name: Install poetry
run: pipx install poetry
- name: Install Python runtime and dependencies
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ env.POETRY_VERSION }}

cache: 'poetry'
- name: Install dependencies
run: |
poetry install
- name: Deploy
run: |
poetry run mkdocs gh-deploy --force

0 comments on commit 49a9ad6

Please sign in to comment.