⬆ Bump tiangolo/issue-manager from 0.2.0 to 0.4.0 (#98) #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v1 | |
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 }} |