Skip to content

feat: send_post_request(), send_get_request() #19

feat: send_post_request(), send_get_request()

feat: send_post_request(), send_get_request() #19

name: πŸš€ Build and release
on:
push:
branches:
- main
paths:
- strapi_client/**
- pyproject.toml
- .github/**
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- name: βš™οΈ Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: πŸ”ƒ Checkout code
uses: actions/checkout@v2
- name: πŸ“¦ Install poetry
run: pip install poetry
- name: πŸ“– Generate docs
run: |
poetry install
poetry run lazydocs --validate strapi_client --overview-file README.md
- name: ⬆️ Commit generated docs
uses: EndBug/add-and-commit@v7
with:
add: docs
message: "doc: update"
committer_name: GitHub Actions
committer_email: [email protected]
- name: πŸ“’ Semantic Release
uses: bjoluc/semantic-release-config-poetry@v2
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}