Skip to content

⬆ Bump actions/setup-python from 4 to 5 #104

⬆ Bump actions/setup-python from 4 to 5

⬆ Bump actions/setup-python from 4 to 5 #104

Workflow file for this run

name: Build and Deploy to Netlify
on:
push:
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.7"
- name: Install Poetry
run: python3.7 -m pip install poetry
- name: Disable Poetry venv
run: poetry config virtualenvs.create false
- name: Install packages
run: poetry install
- name: Build Docs
run: python3.7 -m mkdocs build
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2.1.0
with:
publish-dir: './site'
production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}